Skip to content

Commit 559fce2

Browse files
committed
Run tests against Node.js 22
1 parent 652e019 commit 559fce2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 20
16+
node-version: 22
1717
- run: npm ci
1818
- run: npx eslint .
1919

@@ -25,6 +25,7 @@ jobs:
2525
- 16
2626
- 18
2727
- 20
28+
- 22
2829
steps:
2930
- uses: actions/checkout@v4
3031
- uses: actions/setup-node@v4
@@ -33,15 +34,15 @@ jobs:
3334
- run: npm ci
3435
- run: npm test
3536
- uses: codecov/codecov-action@v3
36-
if: ${{ matrix.node-version == 20 }}
37+
if: ${{ matrix.node-version == 22 }}
3738

3839
pack:
3940
runs-on: ubuntu-latest
4041
steps:
4142
- uses: actions/checkout@v4
4243
- uses: actions/setup-node@v4
4344
with:
44-
node-version: 20
45+
node-version: 22
4546
- run: npm ci
4647
- run: npm pack
4748
- uses: actions/upload-artifact@v4
@@ -55,7 +56,7 @@ jobs:
5556
- uses: actions/checkout@v4
5657
- uses: actions/setup-node@v4
5758
with:
58-
node-version: 20
59+
node-version: 22
5960
- run: npm ci
6061
- run: npx prettier --check .
6162

@@ -65,7 +66,7 @@ jobs:
6566
- uses: actions/checkout@v4
6667
- uses: actions/setup-node@v4
6768
with:
68-
node-version: 20
69+
node-version: 22
6970
- run: npm ci
7071
- run: npx remark --frail .
7172

@@ -82,7 +83,7 @@ jobs:
8283
steps:
8384
- uses: actions/setup-node@v4
8485
with:
85-
node-version: 20
86+
node-version: 22
8687
registry-url: https://registry.npmjs.org
8788
- uses: actions/download-artifact@v4
8889
with: { name: package }

0 commit comments

Comments
 (0)