From 6a293fc1a20bd1d541577761b3169054c853c099 Mon Sep 17 00:00:00 2001 From: Nik B Date: Tue, 17 Mar 2026 13:09:57 +0200 Subject: [PATCH] feat: upgrade Node.js runtime from node20 to node24 (#123) GitHub Actions is deprecating the Node.js 20 runtime, with enforcement starting June 2, 2026. This updates the action to use node24 runtime. - action.yml: change `using: "node20"` to `using: "node24"` - package.json: bump `@types/node` from ^20.16.5 to ^24 Fixes #122 Co-authored-by: Claude Opus 4.6 (1M context) --- action.yml | 2 +- deno.lock | 12 ++++++------ package.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/action.yml b/action.yml index 9f4d68f..92d8ac5 100644 --- a/action.yml +++ b/action.yml @@ -26,7 +26,7 @@ outputs: release-channel: description: "The release channel of the installed version." runs: - using: "node20" + using: "node24" main: "dist/main.mjs" post: "dist/post.mjs" post-if: always() diff --git a/deno.lock b/deno.lock index 8d46b31..df042b5 100644 --- a/deno.lock +++ b/deno.lock @@ -5,7 +5,7 @@ "npm:@actions/core@^1.11.1": "1.11.1", "npm:@actions/glob@0.5": "0.5.0", "npm:@actions/tool-cache@^2.0.2": "2.0.2", - "npm:@types/node@^20.16.5": "20.17.47", + "npm:@types/node@24": "24.12.0", "npm:@types/semver@^7.7.0": "7.7.0", "npm:semver@^7.7.1": "7.7.2", "npm:tsdown@0.10.1": "0.10.1_rolldown@1.0.0-beta.8-commit.852c603__valibot@1.0.0", @@ -511,8 +511,8 @@ "tslib@2.8.1" ] }, - "@types/node@20.17.47": { - "integrity": "sha512-3dLX0Upo1v7RvUimvxLeXqwrfyKxUINk0EAM83swP2mlSUcwV73sZy8XhNz8bcZ3VbsfQyC/y6jRdL5tgCNpDQ==", + "@types/node@24.12.0": { + "integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==", "dependencies": [ "undici-types" ] @@ -1021,8 +1021,8 @@ "quansync" ] }, - "undici-types@6.19.8": { - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" + "undici-types@7.16.0": { + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==" }, "undici@5.29.0": { "integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==", @@ -1087,7 +1087,7 @@ "npm:@actions/core@^1.11.1", "npm:@actions/glob@0.5", "npm:@actions/tool-cache@^2.0.2", - "npm:@types/node@^20.16.5", + "npm:@types/node@24", "npm:@types/semver@^7.7.0", "npm:semver@^7.7.1", "npm:tsdown@0.10.1", diff --git a/package.json b/package.json index dbe7022..24d4561 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@actions/tool-cache": "^2.0.2", "semver": "^7.7.1", "undici": "^7.8.0", - "@types/node": "^20.16.5", + "@types/node": "^24", "@types/semver": "^7.7.0", "tsdown": "0.10.1" }