Skip to content

Commit

Permalink
ci: put the npm step back in for only Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jan 27, 2021
1 parent 473f5d8 commit 0b5b37f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .ci/.azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
steps:
- script: npm i -g npm@$(npm_version)
displayName: Use non-broken npm version $(npm_version)
condition: ne(variables['npm_version'], '')

- task: NodeTool@0
inputs:
versionSpec: '$(node_version)'
displayName: Use Node $(node_version)

- script: npm install -g npm@6.4.1
displayName: Revert npm to 6.4.1 (known working)

- script: npm install
displayName: npm install

Expand Down
2 changes: 2 additions & 0 deletions .ci/.azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:
matrix:
Node_v10:
node_version: 10
npm_version: 6.4.1
Node_v8:
node_version: 8
npm_version: 6.4.1
Node_v6:
node_version: 6
steps:
Expand Down

0 comments on commit 0b5b37f

Please sign in to comment.