mirror of
https://gitea.com/actions/setup-deno.git
synced 2026-03-24 21:58:20 +00:00
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) <noreply@anthropic.com>
(cherry picked from commit 6a293fc1a2)
This commit is contained in:
@@ -26,7 +26,7 @@ outputs:
|
|||||||
release-channel:
|
release-channel:
|
||||||
description: "The release channel of the installed version."
|
description: "The release channel of the installed version."
|
||||||
runs:
|
runs:
|
||||||
using: "node20"
|
using: "node24"
|
||||||
main: "dist/main.mjs"
|
main: "dist/main.mjs"
|
||||||
post: "dist/post.mjs"
|
post: "dist/post.mjs"
|
||||||
post-if: always()
|
post-if: always()
|
||||||
|
|||||||
12
deno.lock
generated
12
deno.lock
generated
@@ -5,7 +5,7 @@
|
|||||||
"npm:@actions/core@^1.11.1": "1.11.1",
|
"npm:@actions/core@^1.11.1": "1.11.1",
|
||||||
"npm:@actions/glob@0.5": "0.5.0",
|
"npm:@actions/glob@0.5": "0.5.0",
|
||||||
"npm:@actions/tool-cache@^2.0.2": "2.0.2",
|
"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:@types/semver@^7.7.0": "7.7.0",
|
||||||
"npm:semver@^7.7.1": "7.7.2",
|
"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",
|
"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"
|
"tslib@2.8.1"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"@types/node@20.17.47": {
|
"@types/node@24.12.0": {
|
||||||
"integrity": "sha512-3dLX0Upo1v7RvUimvxLeXqwrfyKxUINk0EAM83swP2mlSUcwV73sZy8XhNz8bcZ3VbsfQyC/y6jRdL5tgCNpDQ==",
|
"integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"undici-types"
|
"undici-types"
|
||||||
]
|
]
|
||||||
@@ -1021,8 +1021,8 @@
|
|||||||
"quansync"
|
"quansync"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"undici-types@6.19.8": {
|
"undici-types@7.16.0": {
|
||||||
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw=="
|
"integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="
|
||||||
},
|
},
|
||||||
"undici@5.29.0": {
|
"undici@5.29.0": {
|
||||||
"integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==",
|
"integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==",
|
||||||
@@ -1087,7 +1087,7 @@
|
|||||||
"npm:@actions/core@^1.11.1",
|
"npm:@actions/core@^1.11.1",
|
||||||
"npm:@actions/glob@0.5",
|
"npm:@actions/glob@0.5",
|
||||||
"npm:@actions/tool-cache@^2.0.2",
|
"npm:@actions/tool-cache@^2.0.2",
|
||||||
"npm:@types/node@^20.16.5",
|
"npm:@types/node@24",
|
||||||
"npm:@types/semver@^7.7.0",
|
"npm:@types/semver@^7.7.0",
|
||||||
"npm:semver@^7.7.1",
|
"npm:semver@^7.7.1",
|
||||||
"npm:tsdown@0.10.1",
|
"npm:tsdown@0.10.1",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"@actions/tool-cache": "^2.0.2",
|
"@actions/tool-cache": "^2.0.2",
|
||||||
"semver": "^7.7.1",
|
"semver": "^7.7.1",
|
||||||
"undici": "^7.8.0",
|
"undici": "^7.8.0",
|
||||||
"@types/node": "^20.16.5",
|
"@types/node": "^24",
|
||||||
"@types/semver": "^7.7.0",
|
"@types/semver": "^7.7.0",
|
||||||
"tsdown": "0.10.1"
|
"tsdown": "0.10.1"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user