Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec34dbd

Browse files
committed
chore: update to node 22
1 parent 4020e46 commit ec34dbd

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
steps:
66
- uses: actions/setup-node@v3
77
with:
8-
node-version: '20.x'
8+
node-version: '22.x'
99
cache: npm
1010

1111
- run: npm ci

.licenses/npm/@types/node.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ documentation.
3333

3434
## Breaking Changes
3535

36+
### CV22
37+
38+
Custom Version of this action updated the runtime to Node 22
39+
3640
### V7
3741

3842
Version 7 of this action updated the runtime to Node 20 - https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-javascript-actions
@@ -384,7 +388,7 @@ jobs:
384388
- uses: actions/checkout@v3
385389
- uses: actions/setup-node@v3
386390
with:
387-
node-version: '20.x'
391+
node-version: '22.x'
388392
- run: npm ci
389393
# or one-off:
390394
- run: npm install execa

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ outputs:
3636
result:
3737
description: The return value of the script, stringified with `JSON.stringify`
3838
runs:
39-
using: node20
39+
using: node22
4040
main: dist/index.js

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"types": "types/async-function.d.ts",
99
"private": true,
1010
"engines": {
11-
"node": ">=20.0.0 <21.0.0"
11+
"node": ">=22.0.0 <23.0.0"
1212
},
1313
"scripts": {
1414
"build": "npm run build:types && ncc build src/main.ts",
@@ -47,7 +47,7 @@
4747
"@octokit/core": "^5.0.1",
4848
"@octokit/plugin-request-log": "^4.0.0",
4949
"@octokit/plugin-retry": "^6.0.1",
50-
"@types/node": "^20.9.0"
50+
"@types/node": "^22.10.2"
5151
},
5252
"devDependencies": {
5353
"@types/jest": "^29.5.5",

0 commit comments

Comments
 (0)