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 4
4
vmImage : ' ubuntu-latest'
5
5
steps :
6
6
# 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.
8
8
- script : |
9
9
cd script/vsts
10
- npm install
11
- displayName: npm install
10
+ npm ci
11
+ displayName: npm ci
12
12
- script : node script/vsts/get-release-version.js --nightly
13
13
name : Version
14
14
env :
@@ -38,11 +38,11 @@ jobs:
38
38
- template : platforms/templates/preparation.yml
39
39
40
40
# 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.
42
42
- script : |
43
43
cd script/vsts
44
- npm install
45
- displayName: npm install
44
+ npm ci
45
+ displayName: npm ci
46
46
47
47
- task : DownloadBuildArtifacts@0
48
48
inputs :
77
77
78
78
- script : |
79
79
cd script/lib
80
- npm install
81
- displayName: npm install
80
+ npm ci
81
+ displayName: npm ci
82
82
- script : |
83
83
cd script/lib/update-dependency
84
84
node index.js
Original file line number Diff line number Diff line change 6
6
vmImage : ' ubuntu-latest'
7
7
steps :
8
8
# 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.
10
10
- script : |
11
11
cd script/vsts
12
- npm install
13
- displayName: npm install
12
+ npm ci
13
+ displayName: npm ci
14
14
- script : node script/vsts/get-release-version.js
15
15
name : Version
16
16
env :
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
10
10
vmImage : ' ubuntu-latest'
11
11
steps :
12
12
# 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.
14
14
- script : |
15
15
cd script/vsts
16
- npm install
17
- displayName: npm install
16
+ npm ci
17
+ displayName: npm ci
18
18
- script : node script/vsts/get-release-version.js
19
19
name : Version
20
20
env :
@@ -43,13 +43,13 @@ jobs:
43
43
44
44
steps :
45
45
# 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.
47
47
- script : |
48
48
cd script/vsts
49
- npm install
49
+ npm ci
50
50
env:
51
51
GITHUB_TOKEN: $(GITHUB_TOKEN)
52
- displayName: npm install
52
+ displayName: npm ci
53
53
54
54
- task : DownloadBuildArtifacts@0
55
55
inputs :
You can’t perform that action at this time.
0 commit comments