Skip to content

Commit de442bc

Browse files
committed
Cherry picked commit 4005872 from master
1 parent 4bca689 commit de442bc

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/pr_check_webapp_dotnet_windows.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,11 @@ jobs:
6868
- name: Installing dependencies and building latest changes
6969
run: |
7070
cd webapps-deploy
71-
npm install
72-
npm run build
71+
if (-NOT(TEST-PATH node_modules))
72+
{
73+
npm install
74+
npm run build
75+
}
7376
7477
- name: Azure authentication
7578
uses: azure/login@v1

.github/workflows/pr_check_windows_container_pubprofile.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- releases/*
88
paths-ignore:
99
- '**.md'
10-
pull_request_target:
10+
pull_request:
1111
branches:
1212
- master
1313
- 'releases/*'
@@ -84,8 +84,12 @@ jobs:
8484
- name: Installing dependencies and building latest changes in action
8585
run: |
8686
cd webapps-deploy
87-
npm install
88-
npm run build
87+
if (-NOT(TEST-PATH node_modules))
88+
{
89+
npm install
90+
npm run build
91+
}
92+
8993
- name: 'Deploy to Azure WebApp'
9094
uses: ./webapps-deploy/
9195
with:

0 commit comments

Comments
 (0)