Update Node.js version to 24 in action and dependencies

Bump the required Node.js version to 24 in action.yml and package.json. Update @types/node to ^24.1.0 to match the new Node.js version.
This commit is contained in:
Salman Muin Kayser Chishti
2025-07-30 15:16:16 +01:00
parent b0a1180683
commit 6c59921262
3 changed files with 19 additions and 11 deletions

View File

@@ -3,6 +3,9 @@
"version": "5.0.0",
"description": "Labels pull requests by files altered",
"main": "lib/main.js",
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsc && ncc build lib/main.js",
"format": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --write \"**/*.{ts,yml,yaml}\"",
@@ -36,7 +39,7 @@
"@types/js-yaml": "^4.0.9",
"@types/lodash.isequal": "^4.5.8",
"@types/minimatch": "^5.1.2",
"@types/node": "^20.11.30",
"@types/node": "^24.1.0",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.18.0",
"@vercel/ncc": "^0.38.3",