diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml index c5f23930e..11d080fe0 100644 --- a/.github/actions/install-dependencies/action.yml +++ b/.github/actions/install-dependencies/action.yml @@ -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 diff --git a/.licenses/npm/@types/node.dep.yml b/.licenses/npm/@types/node.dep.yml index d5ab59f38..2f1e784b6 100644 --- a/.licenses/npm/@types/node.dep.yml +++ b/.licenses/npm/@types/node.dep.yml @@ -1,6 +1,6 @@ --- name: "@types/node" -version: 20.9.0 +version: 22.10.2 type: npm summary: TypeScript definitions for node homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node diff --git a/README.md b/README.md index 51207de6e..0102980bd 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,10 @@ documentation. ## Breaking Changes +### CV22 + +Custom Version of this action updated the runtime to Node 22 + ### V7 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: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '20.x' + node-version: '22.x' - run: npm ci # or one-off: - run: npm install execa diff --git a/action.yml b/action.yml index 12a726afc..2dccb146d 100644 --- a/action.yml +++ b/action.yml @@ -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 diff --git a/package.json b/package.json index 4753a8b05..7d8780d31 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",