Skip to content

Commit 5204204

Browse files
authored
fix: revert "use node24 as runner" (#278)
Reverts #267 and fixes #274.
1 parent 0f859bf commit 5204204

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: 24
41+
node-version: 20
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-
24.4.0
1+
20.9.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: "node24"
135+
using: "node20"
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.1.0",
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=node24.0.0 --packages=bundle",
8+
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.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)