Skip to content

Commit 7949ec3

Browse files
authored
fix: add node 22 to CI matrix (#438)
1 parent 6d54cbf commit 7949ec3

12 files changed

+92
-88
lines changed

.github/workflows/audit.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
uses: actions/setup-node@v3
2828
id: node
2929
with:
30-
node-version: 20.x
31-
check-latest: contains('20.x', '.x')
30+
node-version: 22.x
31+
check-latest: contains('22.x', '.x')
3232
- name: Install Latest npm
3333
uses: ./.github/actions/install-latest-npm
3434
with:

.github/workflows/ci-release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
uses: actions/setup-node@v3
4848
id: node
4949
with:
50-
node-version: 20.x
51-
check-latest: contains('20.x', '.x')
50+
node-version: 22.x
51+
check-latest: contains('22.x', '.x')
5252
- name: Install Latest npm
5353
uses: ./.github/actions/install-latest-npm
5454
with:
@@ -88,6 +88,7 @@ jobs:
8888
- 18.x
8989
- 20.5.0
9090
- 20.x
91+
- 22.x
9192
runs-on: ${{ matrix.platform.os }}
9293
defaults:
9394
run:

.github/workflows/ci-test-workspace.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
uses: actions/setup-node@v3
3636
id: node
3737
with:
38-
node-version: 20.x
39-
check-latest: contains('20.x', '.x')
38+
node-version: 22.x
39+
check-latest: contains('22.x', '.x')
4040
- name: Install Latest npm
4141
uses: ./.github/actions/install-latest-npm
4242
with:
@@ -69,6 +69,7 @@ jobs:
6969
- 18.x
7070
- 20.5.0
7171
- 20.x
72+
- 22.x
7273
runs-on: ${{ matrix.platform.os }}
7374
defaults:
7475
run:

.github/workflows/ci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
uses: actions/setup-node@v3
3636
id: node
3737
with:
38-
node-version: 20.x
39-
check-latest: contains('20.x', '.x')
38+
node-version: 22.x
39+
check-latest: contains('22.x', '.x')
4040
- name: Install Latest npm
4141
uses: ./.github/actions/install-latest-npm
4242
with:
@@ -69,6 +69,7 @@ jobs:
6969
- 18.x
7070
- 20.5.0
7171
- 20.x
72+
- 22.x
7273
runs-on: ${{ matrix.platform.os }}
7374
defaults:
7475
run:

.github/workflows/post-dependabot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
uses: actions/setup-node@v3
2929
id: node
3030
with:
31-
node-version: 20.x
32-
check-latest: contains('20.x', '.x')
31+
node-version: 22.x
32+
check-latest: contains('22.x', '.x')
3333
- name: Install Latest npm
3434
uses: ./.github/actions/install-latest-npm
3535
with:

.github/workflows/pull-request.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
uses: actions/setup-node@v3
3232
id: node
3333
with:
34-
node-version: 20.x
35-
check-latest: contains('20.x', '.x')
34+
node-version: 22.x
35+
check-latest: contains('22.x', '.x')
3636
- name: Install Latest npm
3737
uses: ./.github/actions/install-latest-npm
3838
with:

.github/workflows/release-integration.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
uses: actions/setup-node@v3
4242
id: node
4343
with:
44-
node-version: 20.x
45-
check-latest: contains('20.x', '.x')
44+
node-version: 22.x
45+
check-latest: contains('22.x', '.x')
4646
- name: Install Latest npm
4747
uses: ./.github/actions/install-latest-npm
4848
with:

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
uses: actions/setup-node@v3
4040
id: node
4141
with:
42-
node-version: 20.x
43-
check-latest: contains('20.x', '.x')
42+
node-version: 22.x
43+
check-latest: contains('22.x', '.x')
4444
- name: Install Latest npm
4545
uses: ./.github/actions/install-latest-npm
4646
with:
@@ -119,8 +119,8 @@ jobs:
119119
uses: actions/setup-node@v3
120120
id: node
121121
with:
122-
node-version: 20.x
123-
check-latest: contains('20.x', '.x')
122+
node-version: 22.x
123+
check-latest: contains('22.x', '.x')
124124
- name: Install Latest npm
125125
uses: ./.github/actions/install-latest-npm
126126
with:

lib/content/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ module.exports = {
172172
/* to be provided by consuming package */
173173
],
174174
ciVersions: {},
175-
latestCiVersion: 20,
175+
latestCiVersion: 22,
176176
lockfile: false,
177177
codeowner: '@npm/cli-team',
178178
eslint: true,

0 commit comments

Comments
 (0)