Skip to content

Commit

Permalink
chore: update npm version to fix evergeen (#1822)
Browse files Browse the repository at this point in the history
* update npm version for evergeen

* install npm@latest on evergreen
  • Loading branch information
imlucas committed Oct 1, 2019
1 parent b91247e commit fbed468
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .evergreen/preinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if [ -n "$IS_WINDOWS" ]; then
rm -rf npm npx npm.cmd npx.cmd
mv node_modules/npm node_modules/npm2
chmod +x ./node.exe
./node.exe node_modules/npm2/bin/npm-cli.js i -g npm@6.5.0
./node.exe node_modules/npm2/bin/npm-cli.js i -g npm@latest
rm -rf node_modules/npm2/
chmod +x npm.cmd npm
else
Expand All @@ -66,7 +66,7 @@ else

./bin/node lib/node_modules/npm2/bin/npm-cli.js version

./bin/node lib/node_modules/npm2/bin/npm-cli.js i -g npm@6.5.0
./bin/node lib/node_modules/npm2/bin/npm-cli.js i -g npm@latest
rm -rf lib/node_modules/npm2/

# NOTE (@imlucas) RHEL and Ubuntu now have libsecret-dev by default
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
],
"engines": {
"node": "^10.2.1",
"npm": ">=6.7.0"
"npm": ">=6.5.0"
},
"bugs": {
"url": "https://docs.mongodb.com/compass/current/#contact",
Expand Down

0 comments on commit fbed468

Please sign in to comment.