Skip to content

Commit e6f4ede

Browse files
authored
chore(ci) test on Node.js v22 and not v16 (#3052)
1 parent 8319847 commit e6f4ede

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/tests.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
steps:
2828
- name: Checkout Repository
2929
uses: actions/checkout@v4
30-
- name: Use Node.js 20.x
30+
- name: Use Node.js 22.x
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: 20.x
33+
node-version: 22.x
3434
- name: Install Dependencies
3535
run: npm install
3636
- name: Lint
@@ -42,10 +42,10 @@ jobs:
4242
steps:
4343
- name: Checkout Repository
4444
uses: actions/checkout@v4
45-
- name: Use Node.js 20.x
45+
- name: Use Node.js 22.x
4646
uses: actions/setup-node@v4
4747
with:
48-
node-version: 20.x
48+
node-version: 22.x
4949
- name: Install Dependencies
5050
run: npm install
5151
- name: Check Engines
@@ -60,10 +60,10 @@ jobs:
6060
steps:
6161
- name: Checkout Repository
6262
uses: actions/checkout@v4
63-
- name: Use Node.js 20.x
63+
- name: Use Node.js 22.x
6464
uses: actions/setup-node@v4
6565
with:
66-
node-version: 20.x
66+
node-version: 22.x
6767
- name: Update npm
6868
run: npm install npm@latest -g
6969
- name: Install Dependencies
@@ -95,11 +95,11 @@ jobs:
9595
matrix:
9696
os: [macos-latest, ubuntu-latest, windows-latest]
9797
python: ["3.8", "3.10", "3.12"]
98-
node: [16.x, 18.x, 20.x]
99-
include: # `npm test` is running Windows find-visualstudio tests on an M1 Mac!!!
100-
- os: macos-14
98+
node: [18.x, 20.x, 22.x]
99+
include: # `npm test` runs Windows find-visualstudio tests on an Intel Mac!!!
100+
- os: macos-13
101101
python: "3.12"
102-
node: 20.x
102+
node: 22.x
103103
name: ${{ matrix.os }} - ${{ matrix.python }} - ${{ matrix.node }}
104104
runs-on: ${{ matrix.os }}
105105
steps:
@@ -132,10 +132,10 @@ jobs:
132132
shell: bash
133133
run: npm test --python="${pythonLocation}/python"
134134
env:
135-
FULL_TEST: ${{ (matrix.node == '20.x' && matrix.python == '3.12') && '1' || '0' }}
135+
FULL_TEST: ${{ (matrix.node == '22.x' && matrix.python == '3.12') && '1' || '0' }}
136136
- name: Run Tests (Windows)
137137
if: startsWith(matrix.os, 'windows')
138138
shell: bash # Building wasm on Windows requires using make generator, it only works in bash
139139
run: npm run test --python="${pythonLocation}\\python.exe"
140140
env:
141-
FULL_TEST: ${{ (matrix.node == '20.x' && matrix.python == '3.12') && '1' || '0' }}
141+
FULL_TEST: ${{ (matrix.node == '22.x' && matrix.python == '3.12') && '1' || '0' }}

0 commit comments

Comments
 (0)