diff --git a/.evergreen/install-dependencies.sh b/.evergreen/install-dependencies.sh index 0870c94..0c19307 100644 --- a/.evergreen/install-dependencies.sh +++ b/.evergreen/install-dependencies.sh @@ -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..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 diff --git a/.evergreen/prepare-shell.sh b/.evergreen/prepare-shell.sh index 5ae2387..57bd0b9 100644 --- a/.evergreen/prepare-shell.sh +++ b/.evergreen/prepare-shell.sh @@ -11,7 +11,7 @@ export DRIVERS_TOOLS if [ ! -d "$DRIVERS_TOOLS" ]; then # Only clone driver tools if it does not exist - git clone --depth=1 "https://github.com/mongodb-labs/drivers-evergreen-tools.git" "${DRIVERS_TOOLS}" + git clone --depth=1 --branch NODE-6636 "https://github.com/mongodb-labs/drivers-evergreen-tools.git" "${DRIVERS_TOOLS}" fi echo "installed DRIVERS_TOOLS from commit $(git -C "${DRIVERS_TOOLS}" rev-parse HEAD)"