Skip to content

Commit

Permalink
For appveyor, check node version to decide whether to install npm@3
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Jul 9, 2017
1 parent 3fcf921 commit 19003ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -16,7 +16,7 @@ platform:
- x64
install:
- ps: Install-Product node $env:nodejs_version
- if [[ `npm -v` =~ ^[1-2] ]]; then npm i -g npm@3; fi
- if [[ `node -v` =~ ^[0-4] ]]; then npm i -g npm@3; fi
- npm install
test_script:
# Output useful info for debugging.
Expand Down

0 comments on commit 19003ba

Please sign in to comment.