build!: update node runtime to version 24 (#567)

Co-authored-by: Eden Zimbelman <[email protected]>
This commit is contained in:
Jonathan Desrosiers
2026-03-12 13:18:23 -07:00
committed by GitHub
co-authored by Eden Zimbelman
parent 3a8b6066a7
commit 8dfc3708a4
6 changed files with 23 additions and 25 deletions
-4
View File
@@ -7,10 +7,6 @@ updates:
ignore: ignore:
- dependency-name: "@types/node" - dependency-name: "@types/node"
versions: versions:
- "21.x"
- "22.x"
- "23.x"
- "24.x"
- "25.x" - "25.x"
- package-ecosystem: "github-actions" - package-ecosystem: "github-actions"
directory: "/" directory: "/"
+1 -1
View File
@@ -1 +1 @@
20 24
+1 -1
View File
@@ -54,5 +54,5 @@ outputs:
ts: ts:
description: "The timestamp of a Slack message or event in the response." description: "The timestamp of a Slack message or event in the response."
runs: runs:
using: "node20" using: "node24"
main: "dist/index.js" main: "dist/index.js"
+4 -4
View File
@@ -5,15 +5,15 @@
"checkJs": true, "checkJs": true,
"esModuleInterop": true, "esModuleInterop": true,
"lib": [ "lib": [
"ES2023" "ESNext"
], ],
"module": "node16", "module": "nodenext",
"moduleResolution": "node", "moduleResolution": "nodenext",
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"noImplicitReturns": true, "noImplicitReturns": true,
"noUnusedLocals": true, "noUnusedLocals": true,
"noUnusedParameters": true, "noUnusedParameters": true,
"target": "ES2022" "target": "ESNext"
}, },
"exclude": [ "exclude": [
"node_modules" "node_modules"
+12 -10
View File
@@ -25,15 +25,15 @@
"@types/flat": "^5.0.5", "@types/flat": "^5.0.5",
"@types/js-yaml": "^4.0.9", "@types/js-yaml": "^4.0.9",
"@types/markup-js": "^1.5.0", "@types/markup-js": "^1.5.0",
"@types/node": "^20.19.35", "@types/node": "^24.12.0",
"@types/sinon": "^21.0.0", "@types/sinon": "^21.0.0",
"@vercel/ncc": "^0.38.4", "@vercel/ncc": "^0.38.4",
"sinon": "^21.0.1", "sinon": "^21.0.1",
"typescript": "^5.9.3" "typescript": "^5.9.3"
}, },
"engines": { "engines": {
"node": ">=20.0.0", "node": ">=24.11.0",
"npm": ">=10.2.0" "npm": ">=11.6.1"
} }
}, },
"node_modules/@actions/core": { "node_modules/@actions/core": {
@@ -273,6 +273,7 @@
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.6.tgz", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.6.tgz",
"integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@octokit/auth-token": "^6.0.0", "@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^9.0.3", "@octokit/graphql": "^9.0.3",
@@ -496,12 +497,12 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "20.19.35", "version": "24.12.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.35.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz",
"integrity": "sha512-Uarfe6J91b9HAUXxjvSOdiO2UPOKLm07Q1oh0JHxoZ1y8HoqxDAu3gVrsrOHeiio0kSsoVBt4wFrKOm0dKxVPQ==", "integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~6.21.0" "undici-types": "~7.16.0"
} }
}, },
"node_modules/@types/retry": { "node_modules/@types/retry": {
@@ -561,6 +562,7 @@
"resolved": "https://registry.npmjs.org/axios/-/axios-1.13.6.tgz", "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.6.tgz",
"integrity": "sha512-ChTCHMouEe2kn713WHbQGcuYrr6fXTBiu460OTwWrWob16g1bXn4vtz07Ope7ewMozJAnEquLk5lWQWtBig9DQ==", "integrity": "sha512-ChTCHMouEe2kn713WHbQGcuYrr6fXTBiu460OTwWrWob16g1bXn4vtz07Ope7ewMozJAnEquLk5lWQWtBig9DQ==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"follow-redirects": "^1.15.11", "follow-redirects": "^1.15.11",
"form-data": "^4.0.5", "form-data": "^4.0.5",
@@ -1117,9 +1119,9 @@
} }
}, },
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "6.21.0", "version": "7.16.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/universal-user-agent": { "node_modules/universal-user-agent": {
+5 -5
View File
@@ -6,8 +6,8 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "ncc build src/index.js --license licenses.txt --source-map", "build": "ncc build src/index.js --license licenses.txt --source-map",
"check": "tsc --noemit --module es2022 --project ./jsconfig.json", "check": "tsc --noemit --project ./jsconfig.json",
"dev": "act public --eventpath .github/resources/.actions/event.json --secret-file .github/resources/.env --platform ubuntu-latest=node:20-buster --container-architecture linux/amd64", "dev": "act public --eventpath .github/resources/.actions/event.json --secret-file .github/resources/.env --platform ubuntu-latest=node:24 --container-architecture linux/amd64",
"lint:fix": "biome check --write", "lint:fix": "biome check --write",
"lint": "biome check", "lint": "biome check",
"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", "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 @@
"url": "https://github.com/slackapi/slack-github-action/issues" "url": "https://github.com/slackapi/slack-github-action/issues"
}, },
"engines": { "engines": {
"node": ">=20.0.0", "node": ">=24.11.0",
"npm": ">=10.2.0" "npm": ">=11.6.1"
}, },
"homepage": "https://docs.slack.dev/tools/slack-github-action/", "homepage": "https://docs.slack.dev/tools/slack-github-action/",
"dependencies": { "dependencies": {
@@ -50,7 +50,7 @@
"@types/flat": "^5.0.5", "@types/flat": "^5.0.5",
"@types/js-yaml": "^4.0.9", "@types/js-yaml": "^4.0.9",
"@types/markup-js": "^1.5.0", "@types/markup-js": "^1.5.0",
"@types/node": "^20.19.35", "@types/node": "^24.12.0",
"@types/sinon": "^21.0.0", "@types/sinon": "^21.0.0",
"@vercel/ncc": "^0.38.4", "@vercel/ncc": "^0.38.4",
"sinon": "^21.0.1", "sinon": "^21.0.1",