File tree Expand file tree Collapse file tree 3 files changed +17
-17
lines changed
Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 44 vmImage : ' ubuntu-latest'
55 steps :
66 # This has to be done separately because VSTS inexplicably
7- # exits the script block after `npm install ` completes.
7+ # exits the script block after `npm ci ` completes.
88 - script : |
99 cd script/vsts
10- npm install
11- displayName: npm install
10+ npm ci
11+ displayName: npm ci
1212 - script : node script/vsts/get-release-version.js --nightly
1313 name : Version
1414 env :
@@ -38,11 +38,11 @@ jobs:
3838 - template : platforms/templates/preparation.yml
3939
4040 # This has to be done separately because VSTS inexplicably
41- # exits the script block after `npm install ` completes.
41+ # exits the script block after `npm ci ` completes.
4242 - script : |
4343 cd script/vsts
44- npm install
45- displayName: npm install
44+ npm ci
45+ displayName: npm ci
4646
4747 - task : DownloadBuildArtifacts@0
4848 inputs :
7777
7878 - script : |
7979 cd script/lib
80- npm install
81- displayName: npm install
80+ npm ci
81+ displayName: npm ci
8282 - script : |
8383 cd script/lib/update-dependency
8484 node index.js
Original file line number Diff line number Diff line change 66 vmImage : ' ubuntu-latest'
77 steps :
88 # This has to be done separately because VSTS inexplicably
9- # exits the script block after `npm install ` completes.
9+ # exits the script block after `npm ci ` completes.
1010 - script : |
1111 cd script/vsts
12- npm install
13- displayName: npm install
12+ npm ci
13+ displayName: npm ci
1414 - script : node script/vsts/get-release-version.js
1515 name : Version
1616 env :
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
1010 vmImage : ' ubuntu-latest'
1111 steps :
1212 # This has to be done separately because VSTS inexplicably
13- # exits the script block after `npm install ` completes.
13+ # exits the script block after `npm ci ` completes.
1414 - script : |
1515 cd script/vsts
16- npm install
17- displayName: npm install
16+ npm ci
17+ displayName: npm ci
1818 - script : node script/vsts/get-release-version.js
1919 name : Version
2020 env :
@@ -43,13 +43,13 @@ jobs:
4343
4444 steps :
4545 # This has to be done separately because VSTS inexplicably
46- # exits the script block after `npm install ` completes.
46+ # exits the script block after `npm ci ` completes.
4747 - script : |
4848 cd script/vsts
49- npm install
49+ npm ci
5050 env:
5151 GITHUB_TOKEN: $(GITHUB_TOKEN)
52- displayName: npm install
52+ displayName: npm ci
5353
5454 - task : DownloadBuildArtifacts@0
5555 inputs :
You can’t perform that action at this time.
0 commit comments