Skip to content

Commit

Permalink
chore(NODE-6635): pin NPM to 10 when Node version is 18
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Jan 13, 2025
1 parent e903c40 commit 5c463f9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .evergreen/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ set -o errexit # Exit the script with error if any of the commands fail
## a full nodejs version, in the format v<major>.<minor>.patch
export NODE_LTS_VERSION=${NODE_LTS_VERSION:-14}
# npm version can be defined in the environment for cases where we need to install
# a version lower than latest to support EOL Node versions.
export NPM_VERSION=${NPM_VERSION:-latest}

echo "Installing Node.js $NODE_LTS_VERSION with npm@$NPM_VERSION"

# a version lower than latest to support EOL Node versions. When not provided will
# be handled by this script in drivers tools.
source $DRIVERS_TOOLS/.evergreen/install-node.sh

npm install --build-from-source
Expand Down

0 comments on commit 5c463f9

Please sign in to comment.