Skip to content

Commit 0b5b37f

Browse files
committed
ci: put the npm step back in for only Windows
1 parent 473f5d8 commit 0b5b37f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.ci/.azure-pipelines-steps.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
steps:
2+
- script: npm i -g npm@$(npm_version)
3+
displayName: Use non-broken npm version $(npm_version)
4+
condition: ne(variables['npm_version'], '')
5+
26
- task: NodeTool@0
37
inputs:
48
versionSpec: '$(node_version)'
59
displayName: Use Node $(node_version)
610

7-
- script: npm install -g npm@6.4.1
8-
displayName: Revert npm to 6.4.1 (known working)
9-
1011
- script: npm install
1112
displayName: npm install
1213

.ci/.azure-pipelines.yml

+2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
matrix:
2727
Node_v10:
2828
node_version: 10
29+
npm_version: 6.4.1
2930
Node_v8:
3031
node_version: 8
32+
npm_version: 6.4.1
3133
Node_v6:
3234
node_version: 6
3335
steps:

0 commit comments

Comments
 (0)