From ef8dbaa3f375272f13f9a2cd3cc31d256c4b0c23 Mon Sep 17 00:00:00 2001 From: B Date: Wed, 6 May 2026 21:08:25 +0000 Subject: [PATCH] feat: bump runtime to node24 GitHub Actions deprecates the Node.js 20 runtime on June 2, 2026: https://github.blog/changelog/2025-09-25-actions-deprecating-the-node20-runtime-bundled-with-the-actions-runner/ This commit: - Bumps action.yml runtime from node20 -> node24. - Bumps @types/node devDependency from ^20.12.4 -> ^24.0.0. - Regenerates package-lock.json. The bundled dist/index.js is byte-identical to the previous build; only the runtime declared in action.yml changes. Tests: `npm run all` passes (test + format + lint + build). Co-Authored-By: Staging-Devin AI <166158716+staging-devin-ai-integration[bot]@users.noreply.github.com> --- action.yml | 2 +- package-lock.json | 34 ++++++++++++++++++---------------- package.json | 2 +- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/action.yml b/action.yml index b32ac02..008b556 100644 --- a/action.yml +++ b/action.yml @@ -61,7 +61,7 @@ inputs: required: false default: "false" runs: - using: node20 + using: node24 main: dist/index.js branding: icon: 'git-pull-request' diff --git a/package-lock.json b/package-lock.json index 5cb26a8..b1b97b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@types/jest": "^29.5.12", - "@types/node": "^20.12.4", + "@types/node": "^24.0.0", "@typescript-eslint/parser": "^7.5.0", "@vercel/ncc": "^0.38.1", "eslint": "^8.36.0", @@ -2032,12 +2032,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.12.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.4.tgz", - "integrity": "sha512-E+Fa9z3wSQpzgYQdYmme5X3OTuejnnTx88A6p6vkkJosR3KBz+HpE3kqNm98VE6cfLFcISx7zW7MsJkH6KwbTw==", + "version": "24.12.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz", + "integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~7.16.0" } }, "node_modules/@types/semver": { @@ -8287,10 +8288,11 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "dev": true, + "license": "MIT" }, "node_modules/universal-user-agent": { "version": "6.0.1", @@ -10021,12 +10023,12 @@ "dev": true }, "@types/node": { - "version": "20.12.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.4.tgz", - "integrity": "sha512-E+Fa9z3wSQpzgYQdYmme5X3OTuejnnTx88A6p6vkkJosR3KBz+HpE3kqNm98VE6cfLFcISx7zW7MsJkH6KwbTw==", + "version": "24.12.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz", + "integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==", "dev": true, "requires": { - "undici-types": "~5.26.4" + "undici-types": "~7.16.0" } }, "@types/semver": { @@ -14542,9 +14544,9 @@ } }, "undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", "dev": true }, "universal-user-agent": { diff --git a/package.json b/package.json index c09337a..58f8e86 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ }, "devDependencies": { "@types/jest": "^29.5.12", - "@types/node": "^20.12.4", + "@types/node": "^24.0.0", "@typescript-eslint/parser": "^7.5.0", "@vercel/ncc": "^0.38.1", "eslint": "^8.36.0",