Skip to content

Commit 68e5d67

Browse files
authored
test(NODE-5606): use npm 9 on eol node versions (#3858)
1 parent 177a4fc commit 68e5d67

File tree

5 files changed

+220
-21
lines changed

5 files changed

+220
-21
lines changed

.evergreen/config.in.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ functions:
509509
working_dir: "src"
510510
script: |
511511
${PREPARE_SHELL}
512-
NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS}\
512+
NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS} NPM_VERSION=${NPM_VERSION}\
513513
bash ${PROJECT_DIRECTORY}/.evergreen/install-dependencies.sh
514514
515515
"install aws-credential-providers":
@@ -1143,6 +1143,7 @@ tasks:
11431143
- func: install dependencies
11441144
vars:
11451145
NODE_LTS_VERSION: v18.16.0
1146+
NPM_VERSION: 9
11461147
- func: bootstrap mongo-orchestration
11471148
vars:
11481149
VERSION: v6.0-perf
@@ -1156,6 +1157,8 @@ tasks:
11561157
- name: "test-gcpkms-task"
11571158
commands:
11581159
- func: "install dependencies"
1160+
vars:
1161+
NPM_VERSION: 9
11591162
# Upload node driver to a GCP instance
11601163
- command: subprocess.exec
11611164
type: setup
@@ -1191,6 +1194,8 @@ tasks:
11911194
# It is expected to fail to obtain GCE credentials.
11921195
commands:
11931196
- func: "install dependencies"
1197+
vars:
1198+
NPM_VERSION: 9
11941199
- func: bootstrap mongo-orchestration
11951200
vars:
11961201
VERSION: latest
@@ -1209,6 +1214,8 @@ tasks:
12091214
- name: "test-azurekms-task"
12101215
commands:
12111216
- func: "install dependencies"
1217+
vars:
1218+
NPM_VERSION: 9
12121219
- command: subprocess.exec
12131220
type: setup
12141221
params:
@@ -1230,6 +1237,8 @@ tasks:
12301237
- name: "test-azurekms-fail-task"
12311238
commands:
12321239
- func: "install dependencies"
1240+
vars:
1241+
NPM_VERSION: 9
12331242
- func: bootstrap mongo-orchestration
12341243
vars:
12351244
VERSION: latest
@@ -1247,6 +1256,8 @@ tasks:
12471256
- name: "oidc-auth-test-azure-latest"
12481257
commands:
12491258
- func: "install dependencies"
1259+
vars:
1260+
NPM_VERSION: 9
12501261
- command: subprocess.exec
12511262
params:
12521263
working_dir: src
@@ -1262,6 +1273,8 @@ tasks:
12621273
- name: "test-aws-lambda-deployed"
12631274
commands:
12641275
- func: "install dependencies"
1276+
vars:
1277+
NPM_VERSION: 9
12651278
- command: ec2.assume_role
12661279
params:
12671280
role_arn: ${LAMBDA_AWS_ROLE_ARN}

0 commit comments

Comments
 (0)