Skip to content

Commit a1cbe0f

Browse files
authored
feat: use node24 as runner (#267)
Upgrade to node 24 as runners have node 24 support: actions/runner#3940
1 parent d7ee281 commit a1cbe0f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-node@v4
4040
with:
41-
node-version: 20
41+
node-version: 24
4242
cache: "npm"
4343
- run: npm ci
4444
- run: npm run build

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.9.0
1+
24.4.0

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,6 @@ outputs:
132132
app-slug:
133133
description: "GitHub App slug"
134134
runs:
135-
using: "node20"
135+
using: "node24"
136136
main: "dist/main.cjs"
137137
post: "dist/post.cjs"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "2.0.6",
66
"description": "GitHub Action for creating a GitHub App Installation Access Token",
77
"scripts": {
8-
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0 --packages=bundle",
8+
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node24.0.0 --packages=bundle",
99
"test": "c8 --100 ava tests/index.js",
1010
"coverage": "c8 report --reporter html",
1111
"postcoverage": "open-cli coverage/index.html"

0 commit comments

Comments
 (0)