Skip to content

Commit

Permalink
Merge pull request #419 from Azure/shilpirachna1/fixworkflowsv3
Browse files Browse the repository at this point in the history
npm install and build tasks made conditional
  • Loading branch information
ShilpiRachna1 authored Apr 8, 2024
2 parents 145a068 + 4d68fbb commit b2f8793
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pr_check_webapp_dotnet_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ jobs:
- name: Installing dependencies and building latest changes
run: |
cd webapps-deploy
npm install
npm run build
if (-NOT(TEST-PATH node_modules))
{
npm install
npm run build
}
- name: Azure authentication
uses: azure/login@v1
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pr_check_windows_container_pubprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ jobs:
- name: Installing dependencies and building latest changes in action
run: |
cd webapps-deploy
npm install
npm run build
if (-NOT(TEST-PATH node_modules))
{
npm install
npm run build
}
- name: 'Deploy to Azure WebApp'
uses: ./webapps-deploy/
Expand Down

0 comments on commit b2f8793

Please sign in to comment.