diff --git a/.github/workflows/pr_check_webapp_dotnet_windows.yml b/.github/workflows/pr_check_webapp_dotnet_windows.yml index 5df3165fe..d6eb2bf80 100644 --- a/.github/workflows/pr_check_webapp_dotnet_windows.yml +++ b/.github/workflows/pr_check_webapp_dotnet_windows.yml @@ -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 diff --git a/.github/workflows/pr_check_windows_container_pubprofile.yml b/.github/workflows/pr_check_windows_container_pubprofile.yml index 3a8ead332..2008a2692 100644 --- a/.github/workflows/pr_check_windows_container_pubprofile.yml +++ b/.github/workflows/pr_check_windows_container_pubprofile.yml @@ -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/