Skip to content

Commit b46343d

Browse files
authored
chore: update node to 22 (#1158)
Closes dequelabs/bass-team#176 No QA required
1 parent e53cd36 commit b46343d

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 18
19+
node-version: 22
2020
cache: 'npm'
2121
- run: npm ci
2222
# Ensure packages are built
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/checkout@v4
4444
- uses: actions/setup-node@v4
4545
with:
46-
node-version: 18
46+
node-version: 22
4747
cache: 'npm'
4848
- run: npm ci
4949
# Ensure packages are built
@@ -70,7 +70,7 @@ jobs:
7070
- uses: actions/checkout@v4
7171
- uses: actions/setup-node@v4
7272
with:
73-
node-version: 18
73+
node-version: 22
7474
cache: 'npm'
7575
- run: npm ci
7676
# Ensure packages are built

.github/workflows/tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 18
19+
node-version: 22
2020
cache: 'npm'
2121
- run: npm ci
2222
- run: npm run lint
2323

2424
puppeteer:
2525
strategy:
2626
matrix:
27-
node: [16, 18, 20]
27+
node: [18, 20, 22]
2828
runs-on: ubuntu-latest
2929
timeout-minutes: 15
3030
needs: lint
@@ -46,7 +46,7 @@ jobs:
4646
cli:
4747
strategy:
4848
matrix:
49-
node: [16, 18, 20]
49+
node: [18, 20, 22]
5050
runs-on: ubuntu-latest
5151
timeout-minutes: 15
5252
needs: lint
@@ -66,7 +66,7 @@ jobs:
6666
webdriverjs:
6767
strategy:
6868
matrix:
69-
node: [16, 18, 20]
69+
node: [18, 20, 22]
7070
runs-on: ubuntu-latest
7171
timeout-minutes: 15
7272
needs: lint
@@ -88,7 +88,7 @@ jobs:
8888
webdriverio:
8989
strategy:
9090
matrix:
91-
node: [16, 18, 20]
91+
node: [18, 20, 22]
9292
runs-on: ubuntu-latest
9393
timeout-minutes: 15
9494
needs: lint
@@ -110,7 +110,7 @@ jobs:
110110
reporter_earl:
111111
strategy:
112112
matrix:
113-
node: [16, 18, 20]
113+
node: [18, 20, 22]
114114
runs-on: ubuntu-latest
115115
timeout-minutes: 15
116116
needs: lint
@@ -128,7 +128,7 @@ jobs:
128128
react:
129129
strategy:
130130
matrix:
131-
node: [16, 18, 20]
131+
node: [18, 20, 22]
132132
runs-on: ubuntu-latest
133133
timeout-minutes: 15
134134
needs: lint
@@ -149,7 +149,7 @@ jobs:
149149
playwright:
150150
strategy:
151151
matrix:
152-
node: [16, 18, 20]
152+
node: [18, 20, 22]
153153
runs-on: ubuntu-latest
154154
timeout-minutes: 15
155155
needs: lint
@@ -168,7 +168,7 @@ jobs:
168168
wdio_globals_test:
169169
strategy:
170170
matrix:
171-
node: [16, 18, 20]
171+
node: [18, 20, 22]
172172
runs-on: ubuntu-latest
173173
timeout-minutes: 15
174174
needs: lint
@@ -190,7 +190,7 @@ jobs:
190190
- uses: actions/checkout@v4
191191
- uses: actions/setup-node@v4
192192
with:
193-
node-version: 18
193+
node-version: 22
194194
cache: 'npm'
195195
- run: npm ci
196196
- run: npm test --workspace=test/axe-core

.github/workflows/update-axe-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 16
17+
node-version: 22
1818
- uses: dequelabs/axe-api-team-public/.github/actions/create-update-axe-core-pull-request-v1@main
1919
with:
2020
token: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)