Skip to content

Commit 2938238

Browse files
authored
chore(NODE-6635): pin NPM to 10 when Node version is 18 (#226)
1 parent e903c40 commit 2938238

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.evergreen/install-dependencies.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ set -o errexit # Exit the script with error if any of the commands fail
77
## a full nodejs version, in the format v<major>.<minor>.patch
88
export NODE_LTS_VERSION=${NODE_LTS_VERSION:-14}
99
# npm version can be defined in the environment for cases where we need to install
10-
# a version lower than latest to support EOL Node versions.
11-
export NPM_VERSION=${NPM_VERSION:-latest}
12-
13-
echo "Installing Node.js $NODE_LTS_VERSION with npm@$NPM_VERSION"
14-
10+
# a version lower than latest to support EOL Node versions. When not provided will
11+
# be handled by this script in drivers tools.
1512
source $DRIVERS_TOOLS/.evergreen/install-node.sh
1613

1714
npm install --build-from-source

0 commit comments

Comments
 (0)