Skip to content

Commit ba8ae6b

Browse files
Upgrade action runtime from node20 to node24 (#265)
Node.js 20 actions are deprecated and will be forced to Node.js 24 by default starting June 2nd, 2026. This updates the action runtime and the package workflow build to use Node.js 24.
1 parent a00f575 commit ba8ae6b

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 20
21+
node-version: 24
2222

2323
- name: Install packages
2424
run: npm ci

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
runuser, tolerant chown, stale config cleanup, and package installation.
2222

2323
### Changed
24+
- Upgraded action runtime from `node20` to `node24` to resolve GitHub Actions deprecation warning (Node.js 20 actions deprecated June 2026).
25+
- Updated `package.yml` workflow to build distribution with Node.js 24.
2426
- Switched user-data format from `#cloud-config` with `runcmd` to `#cloud-boothook`.
2527
This fixes compatibility with Amazon Linux 2023 and other AMIs where
2628
`cloud_final_modules` may be empty or misconfigured.

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,5 @@ outputs:
173173
AWS region where the EC2 instance was created.
174174
This is useful for subsequent AWS operations on the instance.
175175
runs:
176-
using: node20
176+
using: node24
177177
main: ./dist/index.js

0 commit comments

Comments
 (0)