Skip to content

Commit 043734b

Browse files
[GH actions] Bump up NodeJS versions
We use the `CustomEvent` class, which [became stable in `v20.13`](https://nodejs.org/api/events.html#class-customevent).
1 parent f7945fb commit 043734b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [18.x, 20.x, 22.x]
18+
node-version: [20.x, 22.x]
1919

2020
steps:
2121
- uses: actions/checkout@v3
@@ -31,7 +31,7 @@ jobs:
3131

3232
strategy:
3333
matrix:
34-
node-version: [18.x, 20.x, 22.x]
34+
node-version: [20.x, 22.x]
3535

3636
steps:
3737
- uses: actions/checkout@v3
@@ -47,10 +47,10 @@ jobs:
4747

4848
steps:
4949
- uses: actions/checkout@v3
50-
- name: Use Node.js 18.x
50+
- name: Use Node.js 22.x
5151
uses: actions/setup-node@v3
5252
with:
53-
node-version: 18.x
53+
node-version: 22.x
5454
- run: npm ci
5555
- run: npm run lint:ci
5656

@@ -59,9 +59,9 @@ jobs:
5959

6060
steps:
6161
- uses: actions/checkout@v3
62-
- name: Use Node.js 18.x
62+
- name: Use Node.js 22.x
6363
uses: actions/setup-node@v3
6464
with:
65-
node-version: 18.x
65+
node-version: 22.x
6666
- run: npm ci
6767
- run: npm run regex-coverage

0 commit comments

Comments
 (0)