Skip to content

Commit 4c2e99e

Browse files
committed
Switch to Node 24 LTS (fixes #26)
1 parent 2c89fa9 commit 4c2e99e

File tree

4 files changed

+33
-24
lines changed

4 files changed

+33
-24
lines changed

.github/workflows/push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ on:
1111

1212
jobs:
1313
check:
14-
runs-on: "ubuntu-22.04"
14+
runs-on: "ubuntu-latest"
1515
steps:
1616
- uses: "actions/checkout@v4"
1717
- uses: "actions/setup-node@v4"
1818
with:
1919
cache: "npm"
20-
node-version: "22"
20+
node-version: "24"
2121
- run: "npm ci"
2222
- run: "npm run lint"
2323
- run: "npm run test:cover"
@@ -33,13 +33,13 @@ jobs:
3333
environment:
3434
name: netlify
3535
if: "github.ref == 'refs/heads/main' && github.actor != 'dependabot[bot]'"
36-
runs-on: "ubuntu-22.04"
36+
runs-on: "ubuntu-latest"
3737
steps:
3838
- uses: "actions/checkout@v4"
3939
- uses: "actions/setup-node@v4"
4040
with:
4141
cache: "npm"
42-
node-version: "22"
42+
node-version: "24"
4343
- run: "npm ci --omit dev"
4444
- uses: "actions/download-artifact@v4"
4545
with:

package-lock.json

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"test:cover": "npm test -- --coverage"
1515
},
1616
"engines": {
17-
"node": "^22.12",
18-
"npm": ">=10"
17+
"node": "^24.11",
18+
"npm": ">=11"
1919
},
2020
"repository": {
2121
"type": "git",
@@ -37,7 +37,7 @@
3737
"@netlify/functions": "^5.0.1",
3838
"@octokit/webhooks-types": "^7.6.1",
3939
"@types/eslint": "^9.6.1",
40-
"@types/node": "^22.18.12",
40+
"@types/node": "^24.10.1",
4141
"@vitest/coverage-v8": "^4.0.4",
4242
"@vitest/eslint-plugin": "^1.3.26",
4343
"eslint": "^9.38.0",
@@ -52,6 +52,6 @@
5252
"@octokit/rest": "^22.0.0",
5353
"@octokit/webhooks-methods": "^6.0.0",
5454
"@slack/web-api": "^7.12.0",
55-
"@tsconfig/node22": "^22.0.2"
55+
"@tsconfig/node24": "^24.0.3"
5656
}
5757
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/node22/tsconfig.json",
2+
"extends": "@tsconfig/node24/tsconfig.json",
33
"compilerOptions": {
44
"types": ["node", "vitest/globals"]
55
}

0 commit comments

Comments
 (0)