diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 4526ede2..77f01cb0 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 - name: Install packages run: npm ci diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d6b46f6..a5f86afc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,8 @@ runuser, tolerant chown, stale config cleanup, and package installation. ### Changed +- Upgraded action runtime from `node20` to `node24` to resolve GitHub Actions deprecation warning (Node.js 20 actions deprecated June 2026). +- Updated `package.yml` workflow to build distribution with Node.js 24. - Switched user-data format from `#cloud-config` with `runcmd` to `#cloud-boothook`. This fixes compatibility with Amazon Linux 2023 and other AMIs where `cloud_final_modules` may be empty or misconfigured. diff --git a/action.yml b/action.yml index 3f4f12c2..8ecef0b8 100644 --- a/action.yml +++ b/action.yml @@ -173,5 +173,5 @@ outputs: AWS region where the EC2 instance was created. This is useful for subsequent AWS operations on the instance. runs: - using: node20 + using: node24 main: ./dist/index.js