feat: use node24 as runner (#267)

Upgrade to node 24 as runners have node 24 support: https://github.com/actions/runner/pull/3940
This commit is contained in:
Salman Chishti
2025-08-09 00:08:23 +01:00
committed by GitHub
parent d7ee281215
commit a1cbe0fa3c
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 24
cache: "npm" cache: "npm"
- run: npm ci - run: npm ci
- run: npm run build - run: npm run build
+1 -1
View File
@@ -1 +1 @@
20.9.0 24.4.0
+1 -1
View File
@@ -132,6 +132,6 @@ outputs:
app-slug: app-slug:
description: "GitHub App slug" description: "GitHub App slug"
runs: runs:
using: "node20" using: "node24"
main: "dist/main.cjs" main: "dist/main.cjs"
post: "dist/post.cjs" post: "dist/post.cjs"
+1 -1
View File
@@ -5,7 +5,7 @@
"version": "2.0.6", "version": "2.0.6",
"description": "GitHub Action for creating a GitHub App Installation Access Token", "description": "GitHub Action for creating a GitHub App Installation Access Token",
"scripts": { "scripts": {
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0 --packages=bundle", "build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node24.0.0 --packages=bundle",
"test": "c8 --100 ava tests/index.js", "test": "c8 --100 ava tests/index.js",
"coverage": "c8 report --reporter html", "coverage": "c8 report --reporter html",
"postcoverage": "open-cli coverage/index.html" "postcoverage": "open-cli coverage/index.html"