Skip to content

Commit 3e56c67

Browse files
durrannbbeeken
andauthored
test(NODE-5619): use npm 9 on eol node versions (#3861)
Co-authored-by: Neal Beeken <[email protected]>
1 parent f60f1b5 commit 3e56c67

File tree

5 files changed

+218
-20
lines changed

5 files changed

+218
-20
lines changed

.evergreen/config.in.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ functions:
507507
working_dir: "src"
508508
script: |
509509
${PREPARE_SHELL}
510-
NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS}\
510+
NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS} NPM_VERSION=${NPM_VERSION}\
511511
bash ${PROJECT_DIRECTORY}/.evergreen/install-dependencies.sh
512512
513513
"install aws-credential-providers":
@@ -1139,6 +1139,7 @@ tasks:
11391139
- func: install dependencies
11401140
vars:
11411141
NODE_LTS_VERSION: v18.16.0
1142+
NPM_VERSION: 9
11421143
- func: bootstrap mongo-orchestration
11431144
vars:
11441145
VERSION: v6.0-perf
@@ -1152,6 +1153,8 @@ tasks:
11521153
- name: "test-gcpkms-task"
11531154
commands:
11541155
- func: "install dependencies"
1156+
vars:
1157+
NPM_VERSION: 9
11551158
# Upload node driver to a GCP instance
11561159
- command: subprocess.exec
11571160
type: setup
@@ -1187,6 +1190,8 @@ tasks:
11871190
# It is expected to fail to obtain GCE credentials.
11881191
commands:
11891192
- func: "install dependencies"
1193+
vars:
1194+
NPM_VERSION: 9
11901195
- func: bootstrap mongo-orchestration
11911196
vars:
11921197
VERSION: latest
@@ -1205,6 +1210,8 @@ tasks:
12051210
- name: "test-azurekms-task"
12061211
commands:
12071212
- func: "install dependencies"
1213+
vars:
1214+
NPM_VERSION: 9
12081215
- command: subprocess.exec
12091216
type: setup
12101217
params:
@@ -1226,6 +1233,8 @@ tasks:
12261233
- name: "test-azurekms-fail-task"
12271234
commands:
12281235
- func: "install dependencies"
1236+
vars:
1237+
NPM_VERSION: 9
12291238
- func: bootstrap mongo-orchestration
12301239
vars:
12311240
VERSION: latest
@@ -1243,6 +1252,8 @@ tasks:
12431252
- name: "oidc-auth-test-azure-latest"
12441253
commands:
12451254
- func: "install dependencies"
1255+
vars:
1256+
NPM_VERSION: 9
12461257
- command: subprocess.exec
12471258
params:
12481259
working_dir: src
@@ -1258,6 +1269,8 @@ tasks:
12581269
- name: "test-aws-lambda-deployed"
12591270
commands:
12601271
- func: "install dependencies"
1272+
vars:
1273+
NPM_VERSION: 9
12611274
- command: ec2.assume_role
12621275
params:
12631276
role_arn: ${LAMBDA_AWS_ROLE_ARN}

0 commit comments

Comments
 (0)