Skip to content

Commit

Permalink
feat!: set runs.using to node22
Browse files Browse the repository at this point in the history
NodeJS 22 is the LTS from October 2024
  • Loading branch information
ghoullier committed Dec 17, 2024
1 parent 4020e46 commit 4554e0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
steps:
- uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '22.x'
cache: npm

- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ outputs:
result:
description: The return value of the script, stringified with `JSON.stringify`
runs:
using: node20
using: node22
main: dist/index.js
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": "types/async-function.d.ts",
"private": true,
"engines": {
"node": ">=20.0.0 <21.0.0"
"node": ">=22.0.0 <23.0.0"
},
"scripts": {
"build": "npm run build:types && ncc build src/main.ts",
Expand Down Expand Up @@ -47,7 +47,7 @@
"@octokit/core": "^5.0.1",
"@octokit/plugin-request-log": "^4.0.0",
"@octokit/plugin-retry": "^6.0.1",
"@types/node": "^20.9.0"
"@types/node": "^22.10.2"
},
"devDependencies": {
"@types/jest": "^29.5.5",
Expand Down

0 comments on commit 4554e0a

Please sign in to comment.