Skip to content

Commit 8dfc370

Browse files
desrosjzimeg
andauthored
build!: update node runtime to version 24 (#567)
Co-authored-by: Eden Zimbelman <eden.zimbelman@salesforce.com>
1 parent 3a8b606 commit 8dfc370

6 files changed

Lines changed: 23 additions & 25 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ updates:
77
ignore:
88
- dependency-name: "@types/node"
99
versions:
10-
- "21.x"
11-
- "22.x"
12-
- "23.x"
13-
- "24.x"
1410
- "25.x"
1511
- package-ecosystem: "github-actions"
1612
directory: "/"

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ outputs:
5454
ts:
5555
description: "The timestamp of a Slack message or event in the response."
5656
runs:
57-
using: "node20"
57+
using: "node24"
5858
main: "dist/index.js"

jsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"checkJs": true,
66
"esModuleInterop": true,
77
"lib": [
8-
"ES2023"
8+
"ESNext"
99
],
10-
"module": "node16",
11-
"moduleResolution": "node",
10+
"module": "nodenext",
11+
"moduleResolution": "nodenext",
1212
"noFallthroughCasesInSwitch": true,
1313
"noImplicitReturns": true,
1414
"noUnusedLocals": true,
1515
"noUnusedParameters": true,
16-
"target": "ES2022"
16+
"target": "ESNext"
1717
},
1818
"exclude": [
1919
"node_modules"

package-lock.json

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"type": "module",
77
"scripts": {
88
"build": "ncc build src/index.js --license licenses.txt --source-map",
9-
"check": "tsc --noemit --module es2022 --project ./jsconfig.json",
10-
"dev": "act public --eventpath .github/resources/.actions/event.json --secret-file .github/resources/.env --platform ubuntu-latest=node:20-buster --container-architecture linux/amd64",
9+
"check": "tsc --noemit --project ./jsconfig.json",
10+
"dev": "act public --eventpath .github/resources/.actions/event.json --secret-file .github/resources/.env --platform ubuntu-latest=node:24 --container-architecture linux/amd64",
1111
"lint:fix": "biome check --write",
1212
"lint": "biome check",
1313
"test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=test/coverage.txt test/*.spec.js",
@@ -29,8 +29,8 @@
2929
"url": "https://github.com/slackapi/slack-github-action/issues"
3030
},
3131
"engines": {
32-
"node": ">=20.0.0",
33-
"npm": ">=10.2.0"
32+
"node": ">=24.11.0",
33+
"npm": ">=11.6.1"
3434
},
3535
"homepage": "https://docs.slack.dev/tools/slack-github-action/",
3636
"dependencies": {
@@ -50,7 +50,7 @@
5050
"@types/flat": "^5.0.5",
5151
"@types/js-yaml": "^4.0.9",
5252
"@types/markup-js": "^1.5.0",
53-
"@types/node": "^20.19.35",
53+
"@types/node": "^24.12.0",
5454
"@types/sinon": "^21.0.0",
5555
"@vercel/ncc": "^0.38.4",
5656
"sinon": "^21.0.1",

0 commit comments

Comments
 (0)