feat: upgrade to node24

This commit is contained in:
Alex Miller 2025-11-26 13:06:30 +13:00
parent e83d9c31e4
commit 24eda3954a
5 changed files with 11 additions and 11 deletions

View File

@ -48,7 +48,7 @@ outputs:
changes:
description: JSON array with names of all filters matching any of changed files
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.mjs'
branding:
color: blue

View File

@ -15,7 +15,7 @@ import { analyzeMetafile, build } from "esbuild";
bundle: true,
format: "esm",
platform: "node",
target: ["node20"],
target: ["node24"],
treeShaking: true,
// Ensure require is properly defined: https://github.com/evanw/esbuild/issues/1921
banner: {

View File

@ -35,7 +35,7 @@
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.39.1",
"@octokit/webhooks-types": "^7.6.1",
"@tsconfig/node20": "^20.1.8",
"@tsconfig/node24": "^24.0.3",
"@types/js-yaml": "^4.0.9",
"@types/micromatch": "^4.0.10",
"@types/node": "^24.10.1",
@ -54,7 +54,7 @@
"vitest": "^4.0.14"
},
"volta": {
"node": "20.19.2",
"node": "24.11.1",
"pnpm": "10.23.0"
}
}

View File

@ -33,9 +33,9 @@ importers:
'@octokit/webhooks-types':
specifier: ^7.6.1
version: 7.6.1
'@tsconfig/node20':
specifier: ^20.1.8
version: 20.1.8
'@tsconfig/node24':
specifier: ^24.0.3
version: 24.0.3
'@types/js-yaml':
specifier: ^4.0.9
version: 4.0.9
@ -658,8 +658,8 @@ packages:
'@standard-schema/spec@1.0.0':
resolution: {integrity: sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==}
'@tsconfig/node20@20.1.8':
resolution: {integrity: sha512-Em+IdPfByIzWRRpqWL4Z7ArLHZGxmc36BxE3jCz9nBFSm+5aLaPMZyjwu4yetvyKXeogWcxik4L1jB5JTWfw7A==}
'@tsconfig/node24@24.0.3':
resolution: {integrity: sha512-vcERKtKQKHgzt/vfS3Gjasd8SUI2a0WZXpgJURdJsMySpS5+ctgbPfuLj2z/W+w4lAfTWxoN4upKfu2WzIRYnw==}
'@tybys/wasm-util@0.9.0':
resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==}
@ -2500,7 +2500,7 @@ snapshots:
'@standard-schema/spec@1.0.0': {}
'@tsconfig/node20@20.1.8': {}
'@tsconfig/node24@24.0.3': {}
'@tybys/wasm-util@0.9.0':
dependencies:

View File

@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"noEmit": true,