Skip to content

Commit 983fb12

Browse files
authored
Upgrade to Node.js 24 (#103)
## Summary This PR upgrades the GitHub Action to use Node.js 24 runtime and updates all related dependencies. ## Changes - ✅ Update `action.yml` to use `node24` runtime - ✅ Update `@types/node` to latest version (24.5.2) for Node.js 24 support - ✅ Update test matrix to remove deprecated Node.js versions (8, 10, 12, 14, 16) - ✅ Keep testing against supported versions: 18, 20, 22, 24 - ✅ Bump major version to 2.0.0 (breaking change due to runtime upgrade) - ✅ All dependencies verified compatible with Node.js 24 ## Testing - ✅ TypeScript build passes - ✅ All tests pass - ✅ No linting errors ## Breaking Changes This is a major version bump (2.0.0) due to the runtime change from Node.js 20 to Node.js 24. Users should test their workflows before upgrading. ## Related - Addresses GitHub's deprecation of Node.js 20 on Actions runners - Aligns with GitHub's transition to Node.js 24 by March 2026
1 parent 4a7f4c4 commit 983fb12

File tree

4 files changed

+24
-277
lines changed

4 files changed

+24
-277
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node: [8, 10, 12, 14, 16, 18, 20, 22]
13+
node: [18, 20, 22, 24]
1414
steps:
1515
- uses: actions/checkout@v4
1616

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ inputs:
99
required: true
1010
description: MS Teams webhook URI
1111
runs:
12-
using: node20
12+
using: node24
1313
main: dist/main/index.js
1414
branding:
1515
icon: truck

package-lock.json

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

0 commit comments

Comments
 (0)