Skip to content

Commit 7e4ca58

Browse files
chore: evergreen fixes (#45)
* chore: include package-lock * chore: reference correct script for test * chore: install node version for which we need to test * chore: install deps on node20 but allow testing on different node version * chore: increase the timeout since it takes time to download/build node
1 parent 399fec9 commit 7e4ca58

File tree

5 files changed

+6590
-6
lines changed

5 files changed

+6590
-6
lines changed

.evergreen.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
exec_timeout_secs: 600
1+
exec_timeout_secs: 1200
22

33
functions:
44
checkout:
@@ -14,7 +14,7 @@ functions:
1414
set -e
1515
set -x
1616
17-
export NODE_VERSION=16.19.0
17+
export NODE_VERSION=20.5.0
1818
bash .evergreen/install-node.sh
1919
install:
2020
- command: shell.exec
@@ -45,6 +45,7 @@ functions:
4545
working_dir: src
4646
shell: bash
4747
env:
48+
TEST_NODE_VERSION: ${node_version}
4849
OKTA_TEST_CONFIG: ${okta_test_config}
4950
OKTA_TEST_CREDENTIALS: ${okta_test_credentials}
5051
AZURE_TEST_CONFIG: ${azure_test_config}
@@ -56,7 +57,7 @@ functions:
5657
5758
. .evergreen/use-node.sh
5859
npm run build
59-
npm run test-ci
60+
TEST_NODE_VERSION="$TEST_NODE_VERSION" npm run test-ci
6061
6162
tasks:
6263
- name: test_n14

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ tmp/expansions.yaml
2121
tmp/
2222
.esm-wrapper.mjs
2323
/lib/
24-
package-lock.json

0 commit comments

Comments
 (0)