Skip to content

Commit 03c291b

Browse files
committed
update to node 24
1 parent 16020e9 commit 03c291b

6 files changed

Lines changed: 83 additions & 81 deletions

File tree

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24

CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ We chose a JavaScript Action for these benefits and use TypeScript for type safe
137137

138138
[runs.post]: https://docs.github.com/en/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions#runspost
139139

140-
### Why Node 20?
140+
### Why Node 24?
141141

142-
We use Node 20 because it's the latest Node version supported by GitHub Actions.
142+
We use Node 24 because it's the
143+
[latest](https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#runsusing-for-javascript-actions)
144+
Node version supported by GitHub Actions.
143145
The Node version used by this action is specified in the `action.yml` file.

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ branding:
1414
icon: "user"
1515
color: "orange"
1616
runs:
17-
using: "node20"
17+
using: "node24"
1818
main: "dist/main.js"
1919
post: "dist/post.js"

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "vitest"
1111
},
1212
"engines": {
13-
"node": ">=20"
13+
"node": ">=24"
1414
},
1515
"repository": {
1616
"type": "git",
@@ -23,7 +23,7 @@
2323
"homepage": "https://github.com/rust-lang/crates-io-auth-action#readme",
2424
"devDependencies": {
2525
"@actions/core": "^2.0.3",
26-
"@types/node": "^20.19.37",
26+
"@types/node": "^24.12.0",
2727
"eslint": "^10.1.0",
2828
"globals": "^17.4.0",
2929
"msw": "^2.12.14",
@@ -32,6 +32,6 @@
3232
"tslib": "^2.8.1",
3333
"typescript": "^5.9.3",
3434
"typescript-eslint": "^8.57.1",
35-
"vitest": "^4.1.0"
35+
"vitest": "^4.1.1"
3636
}
3737
}

pnpm-lock.yaml

Lines changed: 73 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default defineConfig({
77
format: ["cjs"],
88
outDir: "dist",
99
platform: "node",
10-
target: "node20",
10+
target: "node24",
1111
inlineOnly: false,
1212
clean: true,
1313
outputOptions: {

0 commit comments

Comments
 (0)