@@ -365,7 +365,7 @@ functions:
365
365
working_dir : src
366
366
script : |
367
367
${PREPARE_SHELL}
368
- NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS}\
368
+ NODE_LTS_VERSION=${NODE_LTS_VERSION} NPM_OPTIONS=${NPM_OPTIONS} NPM_VERSION=${NPM_VERSION} \
369
369
bash ${PROJECT_DIRECTORY}/.evergreen/install-dependencies.sh
370
370
run atlas tests :
371
371
- command : shell.exec
@@ -986,6 +986,7 @@ tasks:
986
986
- func : install dependencies
987
987
vars :
988
988
NODE_LTS_VERSION : 18
989
+ NPM_VERSION : 9
989
990
- func : bootstrap mongo-orchestration
990
991
vars :
991
992
VERSION : rapid
@@ -2378,6 +2379,7 @@ tasks:
2378
2379
- func : install dependencies
2379
2380
vars :
2380
2381
NODE_LTS_VERSION : 12
2382
+ NPM_VERSION : 8
2381
2383
- func : run unit tests
2382
2384
- name : run-lint-checks
2383
2385
tags :
@@ -2386,6 +2388,7 @@ tasks:
2386
2388
- func : install dependencies
2387
2389
vars :
2388
2390
NODE_LTS_VERSION : 12
2391
+ NPM_VERSION : 8
2389
2392
- func : run lint checks
2390
2393
- name : check-types-typescript-next
2391
2394
tags :
@@ -2404,6 +2407,7 @@ tasks:
2404
2407
- func : install dependencies
2405
2408
vars :
2406
2409
NODE_LTS_VERSION : 12
2410
+ NPM_VERSION : 8
2407
2411
- func : compile driver
2408
2412
vars :
2409
2413
TS_VERSION : current
@@ -2443,6 +2447,7 @@ tasks:
2443
2447
- func : install dependencies
2444
2448
vars :
2445
2449
NODE_LTS_VERSION : 12
2450
+ NPM_VERSION : 8
2446
2451
- func : bootstrap mongo-orchestration
2447
2452
vars :
2448
2453
VERSION : ' 5.0'
@@ -2457,6 +2462,7 @@ tasks:
2457
2462
- func : install dependencies
2458
2463
vars :
2459
2464
NODE_LTS_VERSION : 12
2465
+ NPM_VERSION : 8
2460
2466
- func : bootstrap mongo-orchestration
2461
2467
vars :
2462
2468
VERSION : ' 5.0'
@@ -2466,6 +2472,7 @@ tasks:
2466
2472
func : run bson-ext test
2467
2473
vars :
2468
2474
NODE_LTS_VERSION : 12
2475
+ NPM_VERSION : 8
2469
2476
TEST_NPM_SCRIPT : check:test
2470
2477
- name : run-bson-ext-unit
2471
2478
tags :
@@ -2474,6 +2481,7 @@ tasks:
2474
2481
- func : install dependencies
2475
2482
vars :
2476
2483
NODE_LTS_VERSION : 12
2484
+ NPM_VERSION : 8
2477
2485
- func : bootstrap mongo-orchestration
2478
2486
vars :
2479
2487
VERSION : ' 5.0'
@@ -2483,6 +2491,7 @@ tasks:
2483
2491
func : run bson-ext test
2484
2492
vars :
2485
2493
NODE_LTS_VERSION : 12
2494
+ NPM_VERSION : 8
2486
2495
TEST_NPM_SCRIPT : check:unit
2487
2496
- name : run-custom-csfle-tests-5.0-pinned-commit
2488
2497
tags :
@@ -2491,6 +2500,7 @@ tasks:
2491
2500
- func : install dependencies
2492
2501
vars :
2493
2502
NODE_LTS_VERSION : 12
2503
+ NPM_VERSION : 8
2494
2504
- func : bootstrap mongo-orchestration
2495
2505
vars :
2496
2506
VERSION : ' 5.0'
@@ -2506,6 +2516,7 @@ tasks:
2506
2516
- func : install dependencies
2507
2517
vars :
2508
2518
NODE_LTS_VERSION : 12
2519
+ NPM_VERSION : 8
2509
2520
- func : bootstrap mongo-orchestration
2510
2521
vars :
2511
2522
VERSION : ' 5.0'
@@ -2521,6 +2532,7 @@ tasks:
2521
2532
- func : install dependencies
2522
2533
vars :
2523
2534
NODE_LTS_VERSION : 12
2535
+ NPM_VERSION : 8
2524
2536
- func : bootstrap mongo-orchestration
2525
2537
vars :
2526
2538
VERSION : rapid
@@ -2536,6 +2548,7 @@ tasks:
2536
2548
- func : install dependencies
2537
2549
vars :
2538
2550
NODE_LTS_VERSION : 12
2551
+ NPM_VERSION : 8
2539
2552
- func : bootstrap mongo-orchestration
2540
2553
vars :
2541
2554
VERSION : rapid
@@ -2551,6 +2564,7 @@ tasks:
2551
2564
- func : install dependencies
2552
2565
vars :
2553
2566
NODE_LTS_VERSION : 12
2567
+ NPM_VERSION : 8
2554
2568
- func : bootstrap mongo-orchestration
2555
2569
vars :
2556
2570
VERSION : latest
@@ -2566,6 +2580,7 @@ tasks:
2566
2580
- func : install dependencies
2567
2581
vars :
2568
2582
NODE_LTS_VERSION : 12
2583
+ NPM_VERSION : 8
2569
2584
- func : bootstrap mongo-orchestration
2570
2585
vars :
2571
2586
VERSION : latest
@@ -2986,6 +3001,7 @@ tasks:
2986
3001
- func : install dependencies
2987
3002
vars :
2988
3003
NODE_LTS_VERSION : 16
3004
+ NPM_VERSION : 9
2989
3005
- func : run mongosh tests for package
2990
3006
vars :
2991
3007
mongosh_package : browser-repl
@@ -2997,6 +3013,7 @@ tasks:
2997
3013
- func : install dependencies
2998
3014
vars :
2999
3015
NODE_LTS_VERSION : 16
3016
+ NPM_VERSION : 9
3000
3017
- func : run mongosh tests for package
3001
3018
vars :
3002
3019
mongosh_package : browser-runtime-electron
@@ -3008,6 +3025,7 @@ tasks:
3008
3025
- func : install dependencies
3009
3026
vars :
3010
3027
NODE_LTS_VERSION : 16
3028
+ NPM_VERSION : 9
3011
3029
- func : run mongosh tests for package
3012
3030
vars :
3013
3031
mongosh_package : cli-repl
@@ -3019,6 +3037,7 @@ tasks:
3019
3037
- func : install dependencies
3020
3038
vars :
3021
3039
NODE_LTS_VERSION : 16
3040
+ NPM_VERSION : 9
3022
3041
- func : run mongosh tests for package
3023
3042
vars :
3024
3043
mongosh_package : connectivity-tests
@@ -3030,6 +3049,7 @@ tasks:
3030
3049
- func : install dependencies
3031
3050
vars :
3032
3051
NODE_LTS_VERSION : 16
3052
+ NPM_VERSION : 9
3033
3053
- func : run mongosh tests for package
3034
3054
vars :
3035
3055
mongosh_package : mongosh
@@ -3041,6 +3061,7 @@ tasks:
3041
3061
- func : install dependencies
3042
3062
vars :
3043
3063
NODE_LTS_VERSION : 16
3064
+ NPM_VERSION : 9
3044
3065
- func : run mongosh tests for package
3045
3066
vars :
3046
3067
mongosh_package : node-runtime-worker-thread
@@ -3052,6 +3073,7 @@ tasks:
3052
3073
- func : install dependencies
3053
3074
vars :
3054
3075
NODE_LTS_VERSION : 16
3076
+ NPM_VERSION : 9
3055
3077
- func : run mongosh tests for package
3056
3078
vars :
3057
3079
mongosh_package : service-provider-server
@@ -3062,6 +3084,7 @@ tasks:
3062
3084
- func : install dependencies
3063
3085
vars :
3064
3086
NODE_LTS_VERSION : 16
3087
+ NPM_VERSION : 9
3065
3088
- func : compile mongosh
3066
3089
- name : verify-mongosh-scopes
3067
3090
tags :
@@ -3070,6 +3093,7 @@ tasks:
3070
3093
- func : install dependencies
3071
3094
vars :
3072
3095
NODE_LTS_VERSION : 16
3096
+ NPM_VERSION : 9
3073
3097
- func : run mongosh package scope test
3074
3098
task_groups :
3075
3099
- name : serverless_task_group
@@ -3128,6 +3152,7 @@ buildvariants:
3128
3152
run_on : rhel80-large
3129
3153
expansions :
3130
3154
NODE_LTS_VERSION : 12
3155
+ NPM_VERSION : 8
3131
3156
CLIENT_ENCRYPTION : true
3132
3157
tasks :
3133
3158
- test-latest-server
@@ -3179,6 +3204,7 @@ buildvariants:
3179
3204
run_on : rhel80-large
3180
3205
expansions :
3181
3206
NODE_LTS_VERSION : 14
3207
+ NPM_VERSION : 9
3182
3208
CLIENT_ENCRYPTION : true
3183
3209
tasks :
3184
3210
- test-latest-server
@@ -3230,6 +3256,7 @@ buildvariants:
3230
3256
run_on : rhel80-large
3231
3257
expansions :
3232
3258
NODE_LTS_VERSION : 16
3259
+ NPM_VERSION : 9
3233
3260
CLIENT_ENCRYPTION : true
3234
3261
tasks :
3235
3262
- test-latest-server
@@ -3279,6 +3306,7 @@ buildvariants:
3279
3306
run_on : rhel80-large
3280
3307
expansions :
3281
3308
NODE_LTS_VERSION : 18
3309
+ NPM_VERSION : latest
3282
3310
CLIENT_ENCRYPTION : true
3283
3311
tasks :
3284
3312
- test-latest-server
@@ -3327,6 +3355,7 @@ buildvariants:
3327
3355
run_on : rhel80-large
3328
3356
expansions :
3329
3357
NODE_LTS_VERSION : 20
3358
+ NPM_VERSION : latest
3330
3359
CLIENT_ENCRYPTION : true
3331
3360
tasks :
3332
3361
- test-latest-server
@@ -3424,6 +3453,7 @@ buildvariants:
3424
3453
run_on : windows-vsCurrent-large
3425
3454
expansions :
3426
3455
NODE_LTS_VERSION : 14
3456
+ NPM_VERSION : 9
3427
3457
tasks :
3428
3458
- test-latest-server
3429
3459
- test-latest-replica_set
@@ -3468,6 +3498,7 @@ buildvariants:
3468
3498
run_on : windows-vsCurrent-large
3469
3499
expansions :
3470
3500
NODE_LTS_VERSION : 16
3501
+ NPM_VERSION : 9
3471
3502
tasks :
3472
3503
- test-latest-server
3473
3504
- test-latest-replica_set
@@ -3510,6 +3541,7 @@ buildvariants:
3510
3541
run_on : windows-vsCurrent-large
3511
3542
expansions :
3512
3543
NODE_LTS_VERSION : 18
3544
+ NPM_VERSION : latest
3513
3545
tasks :
3514
3546
- test-latest-server
3515
3547
- test-latest-replica_set
@@ -3552,6 +3584,7 @@ buildvariants:
3552
3584
run_on : windows-vsCurrent-large
3553
3585
expansions :
3554
3586
NODE_LTS_VERSION : 20
3587
+ NPM_VERSION : latest
3555
3588
tasks :
3556
3589
- test-latest-server
3557
3590
- test-latest-replica_set
@@ -3632,6 +3665,7 @@ buildvariants:
3632
3665
run_on : ubuntu1804-large
3633
3666
expansions :
3634
3667
NODE_LTS_VERSION : 12
3668
+ NPM_VERSION : 8
3635
3669
tasks :
3636
3670
- aws-latest-auth-test-run-aws-auth-test-with-regular-aws-credentials
3637
3671
- aws-latest-auth-test-run-aws-auth-test-with-assume-role-credentials
@@ -3716,6 +3750,7 @@ buildvariants:
3716
3750
run_on : rhel80-large
3717
3751
expansions :
3718
3752
NODE_LTS_VERSION : 12
3753
+ NPM_VERSION : 8
3719
3754
tasks :
3720
3755
- serverless_task_group
3721
3756
- name : rhel8-no-auth-tests
0 commit comments