Skip to content

Commit 021d636

Browse files
committed
fix: search index variable for node lts
1 parent 9b65714 commit 021d636

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.evergreen/ci_matrix_constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const versions = [
55
{ codeName: 'hydrogen', versionNumber: 18 },
66
{ codeName: 'iron', versionNumber: 20 }
77
];
8-
const NODE_VERSIONS = versions.map(({ versionNumber }) => versionNumber).sort();
8+
const NODE_VERSIONS = versions.map(({ versionNumber }) => versionNumber).sort((a, b) => a - b);
99
const LOWEST_LTS = NODE_VERSIONS[0];
1010
const LATEST_LTS = NODE_VERSIONS[NODE_VERSIONS.length - 1];
1111

.evergreen/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3006,7 +3006,7 @@ tasks:
30063006
type: setup
30073007
params:
30083008
updates:
3009-
- {key: NODE_LTS_NAME, value: '20'}
3009+
- {key: NODE_LTS_VERSION, value: '20'}
30103010
- {key: VERSION, value: latest}
30113011
- {key: TOPOLOGY, value: replica_set}
30123012
- func: install dependencies

.evergreen/generate_evergreen_tasks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ SINGLETON_TASKS.push({
643643
tags: [],
644644
commands: [
645645
updateExpansions({
646-
NODE_LTS_NAME: LATEST_LTS,
646+
NODE_LTS_VERSION: LATEST_LTS,
647647
VERSION: 'latest',
648648
TOPOLOGY: 'replica_set'
649649
}),

0 commit comments

Comments
 (0)