Skip to content

Commit 0bb5f2b

Browse files
Anemyaddaleax
andauthored
feat(deps)!: update Node.js to v20 (#214)
Co-authored-by: Anna Henningsen <[email protected]>
1 parent 2d9074b commit 0bb5f2b

File tree

8 files changed

+3930
-2025
lines changed

8 files changed

+3930
-2025
lines changed

.evergreen.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ functions:
1414
set -e
1515
set -x
1616
17-
export NODE_VERSION=16.19.0
17+
export NODE_VERSION=22.15.1
1818
bash .evergreen/install-node.sh
1919
install:
2020
- command: shell.exec
@@ -109,14 +109,14 @@ buildvariants:
109109
- test_electron
110110
- check
111111
- name: macos_x64_test
112-
display_name: 'macOS 11.00 x64'
113-
run_on: macos-11-gui
112+
display_name: 'macOS 14 x64'
113+
run_on: macos-14-gui
114114
tasks:
115115
- test
116116
- test_electron
117117
- name: macos_arm64_test
118-
display_name: 'macOS 11.00 arm64'
119-
run_on: macos-11-arm64-gui
118+
display_name: 'macOS 14 arm64'
119+
run_on: macos-14-arm64-gui
120120
tasks:
121121
- test
122122
- test_electron

.github/workflows/nodejs.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,34 @@ name: CI
1111
jobs:
1212
test:
1313
name: Test
14-
timeout-minutes: 10
14+
timeout-minutes: 20
1515
strategy:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-latest, macos-latest, windows-latest]
19-
node-version: [16.x, 18.x, 20.x]
19+
node-version: [20.x, 22.x, 24.x]
2020
runs-on: ${{matrix.os}}
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Use Node.js ${{ matrix.node-version }}
2424
uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
# the oidc-provider package we use doesn't list Node.js 20 as supported
27+
# the oidc-provider package we use doesn't list Node.js 20, 22 and 24 as supported
2828
- name: Install Dependencies
2929
run: npm ci --ignore-engines
3030
- name: Test
31+
env:
32+
OKTA_TEST_CREDENTIALS: ${{ secrets.OKTA_TEST_CREDENTIALS }}
33+
OKTA_TEST_CONFIG: ${{ secrets.OKTA_TEST_CONFIG }}
3134
run: npm run test-ci
3235
check:
3336
name: Check
3437
strategy:
3538
fail-fast: false
3639
matrix:
3740
os: [ubuntu-latest]
38-
node-version: [18.x]
41+
node-version: [22.x]
3942
runs-on: ${{matrix.os}}
4043
steps:
4144
- uses: actions/checkout@v4
@@ -57,10 +60,10 @@ jobs:
5760
steps:
5861
- uses: actions/checkout@v4
5962

60-
- name: Use Node.js 20.x
63+
- name: Use Node.js 22.x
6164
uses: actions/setup-node@v4
6265
with:
63-
node-version: 20.x
66+
node-version: 22.x
6467

6568
- name: Install Dependencies
6669
run: npm ci --ignore-engines

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
- uses: actions/checkout@v4
2121

22-
- name: Use Node.js 20.x
22+
- name: Use Node.js 22.x
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 20.x
25+
node-version: 22.x
2626
registry-url: 'https://registry.npmjs.org'
2727

2828
- name: Install Dependencies

.tool-versions

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# This file is for the version management tool "asdf".
2+
# mms uses it as well.
3+
4+
# This Node.js version matches the one required in
5+
# the "engines" in the package.json and .everygreen.yml
6+
nodejs 22.15.1

0 commit comments

Comments
 (0)