Skip to content

Commit e9eb551

Browse files
authored
Update to node 22 (#1371)
* node 22 * Update package.json
1 parent 080aa52 commit e9eb551

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Use Node.js 18.x
17+
- name: Use Node.js 22.x
1818
uses: actions/[email protected]
1919
with:
20-
node-version: 18.x
20+
node-version: 22.x
2121
- run: npm i && npm run lint
2222
PrepareSupportedVersions:
2323
runs-on: ubuntu-latest
@@ -26,10 +26,10 @@ jobs:
2626

2727
steps:
2828
- uses: actions/checkout@v2
29-
- name: Use Node.js 18.x
29+
- name: Use Node.js 22.x
3030
uses: actions/[email protected]
3131
with:
32-
node-version: 18.x
32+
node-version: 22.x
3333
- id: set-matrix
3434
run: |
3535
node -e "
@@ -45,10 +45,10 @@ jobs:
4545

4646
steps:
4747
- uses: actions/checkout@v2
48-
- name: Use Node.js 18.x
48+
- name: Use Node.js 22.x
4949
uses: actions/setup-node@v1
5050
with:
51-
node-version: 18.x
51+
node-version: 22.x
5252
- name: Setup Java JDK
5353
uses: actions/[email protected]
5454
with:

.github/workflows/npm-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Node.js
1414
uses: actions/setup-node@master
1515
with:
16-
node-version: 18.0.0
16+
node-version: 22.0.0
1717
- id: publish
1818
uses: JS-DevTools/npm-publish@v1
1919
with:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"author": "Andrew Kelley",
3030
"license": "BSD-3-Clause",
3131
"engines": {
32-
"node": ">=14"
32+
"node": ">=22"
3333
},
3434
"browser": "src/browser.js",
3535
"devDependencies": {

0 commit comments

Comments
 (0)