Skip to content

Commit ec0c4cb

Browse files
committed
chore/breaking: update Node.js version to 22 in GHA workflows and minimum supported engine in package.json
1 parent 6cc8b4f commit ec0c4cb

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
lfs: true
2828
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2929
with:
30-
node-version: 20
30+
node-version: 22
3131
- run: npm install
3232
- run: npm run lint
3333

@@ -39,7 +39,7 @@ jobs:
3939
matrix:
4040
os: [ubuntu-latest, macos-latest, windows-latest]
4141
# See https://github.com/nodejs/release#release-schedule
42-
node-version: [20, 22, 24, 25, 26]
42+
node-version: [22, 24, 26]
4343

4444
steps:
4545
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -68,7 +68,7 @@ jobs:
6868
# setup-node with registry-url is required for OIDC trusted publishing
6969
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7070
with:
71-
node-version: 20
71+
node-version: 22
7272
cache: "npm"
7373
registry-url: "https://registry.npmjs.org"
7474

.github/workflows/check-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1919
with:
20-
node-version: 20
20+
node-version: 22
2121
cache: "npm"
2222

2323
- name: Install dependencies

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Node.js
2424
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2525
with:
26-
node-version: 20
26+
node-version: 22
2727
cache: "npm"
2828

2929
- name: Install dependencies

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"type": "commonjs",
1212
"engines": {
13-
"node": ">=20.0.0"
13+
"node": ">=22"
1414
},
1515
"scripts": {
1616
"clean": "rimraf lib dist coverage .nyc_output",

0 commit comments

Comments
 (0)