Skip to content

Commit

Permalink
ci: Use node npm version on AppVeyor
Browse files Browse the repository at this point in the history
npm installation is currently failing on AppVeyor with:

    npm -g install "npm@%npm_version%"
    Command exited with code -1073741819

Since explicitly installing npm was only required to support very old
Node versions (0.10?) and is not done on Travis CI, remove it.

Signed-off-by: Kevin Locke <[email protected]>
  • Loading branch information
kevinoid committed Jul 31, 2020
1 parent 6387696 commit 4d582f3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
environment:
matrix:
- nodejs_version: "10"
npm_version: "latest"
# Empty version installs most recent version available
- nodejs_version: ""
npm_version: "latest"

# If the package has arch-dependent features, uncomment this.
#platform:
Expand All @@ -18,7 +16,6 @@ environment:

install:
- ps: Install-Product node $env:nodejs_version
- npm -g install "npm@%npm_version%"
# Ignore package-lock.json. This is done for a few reasons:
# - To test against current versions of dependencies.
# - To test installability for dependents (doesn't use package-lock.json).
Expand Down

0 comments on commit 4d582f3

Please sign in to comment.