Skip to content

Commit 96525e5

Browse files
authored
run tests on node 22 (#10127)
1 parent 1c9d3d5 commit 96525e5

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

.github/workflows/test-integration-21.yml .github/workflows/test-integration-22.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Integration@node 21
1+
name: Integration@node 22
22
on:
33
pull_request:
44
types: [opened, reopened, synchronize]
@@ -8,7 +8,7 @@ on:
88
- 'dependabot/**'
99

1010
jobs:
11-
test-integration-21:
11+
test-integration-22:
1212
runs-on: ubuntu-latest
1313
env:
1414
PAT_EXISTS: ${{ secrets.GH_PAT != '' }}
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup
3636
uses: ./.github/actions/setup
3737
with:
38-
node-version: 21
38+
node-version: 22
3939
env:
4040
NPM_CONFIG_ENGINE_STRICT: 'false'
4141

.github/workflows/test-main-21.yml .github/workflows/test-main-22.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Main@node 21
1+
name: Main@node 22
22
on:
33
pull_request:
44
types: [opened, reopened, synchronize]
@@ -8,7 +8,7 @@ on:
88
- 'dependabot/**'
99

1010
jobs:
11-
test-main-21:
11+
test-main-22:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup
1818
uses: ./.github/actions/setup
1919
with:
20-
node-version: 21
20+
node-version: 22
2121
env:
2222
NPM_CONFIG_ENGINE_STRICT: 'false'
2323

.github/workflows/test-package-cli.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- node: '16'
2020
- node: '18'
2121
- node: '20'
22+
- node: '22'
2223
steps:
2324
- name: Checkout
2425
uses: actions/checkout@v4

.github/workflows/test-package-lib.yml

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
- node: '20'
2323
npm: '^10'
2424
engine-strict: 'true'
25+
- node: '22'
26+
npm: '^10'
27+
engine-strict: 'false'
2528
steps:
2629
- name: Checkout
2730
uses: actions/checkout@v4

.github/workflows/test-services-21.yml .github/workflows/test-services-22.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Services@node 21
1+
name: Services@node 22
22
on:
33
pull_request:
44
types: [opened, edited, reopened, synchronize]
@@ -7,7 +7,7 @@ on:
77
- 'gh-readonly-queue/**'
88

99
jobs:
10-
test-services-21:
10+
test-services-22:
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup
1818
uses: ./.github/actions/setup
1919
with:
20-
node-version: 21
20+
node-version: 22
2121
env:
2222
NPM_CONFIG_ENGINE_STRICT: 'false'
2323

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ If you intend on reporting or contributing a fix related to security vulnerabili
9999
## Development
100100

101101
1. Install Node 20 or later. You can use the [package manager][] of your choice.
102-
Tests need to pass in Node 20 and 21.
102+
Tests need to pass in Node 20 and 22.
103103
2. Clone this repository.
104104
3. Run `npm ci` to install the dependencies.
105105
4. Run `npm start` to start the badge server and the frontend dev server.

0 commit comments

Comments
 (0)