Skip to content

Commit df24d42

Browse files
committed
chore: bump action runtime to Node 24
GitHub deprecated Node 20 actions on 2025-09-19 and will force-default all Node 20 actions to Node 24 on 2026-06-02, with Node 20 removed from the runner on 2026-09-16. Every workflow that uses this action currently gets a deprecation warning. Bump the action runtime now so downstream users stop seeing the warning and we don't get caught when the cutoff hits. Aligned everywhere Node version appears: - action.yml `runs.using: node20` → `node24` - esbuild `--target=node20` → `--target=node24` - `package.json` `engines.node: >=20` → `>=24` - `.nvmrc` `20` → `24` - CI + release workflows `node-version: 20` → `24` - README compatibility notes refer to Node 24 The rebuilt bundle is byte-identical because the source doesn't use any node20-only language or runtime features. Ref: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
1 parent e9b53eb commit df24d42

7 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- uses: actions/setup-node@v6
2727
with:
28-
node-version: 20
28+
node-version: 24
2929
cache: npm
3030

3131
- run: npm ci
@@ -56,7 +56,7 @@ jobs:
5656
- uses: actions/checkout@v6
5757
- uses: actions/setup-node@v6
5858
with:
59-
node-version: 20
59+
node-version: 24
6060
cache: npm
6161
- run: npm ci
6262
- run: npm audit --omit=dev

.github/workflows/release.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@v6
2020
with:
21-
node-version: 20
21+
node-version: 24
2222
cache: npm
2323

2424
- run: npm ci

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
88

9+
### Changed
10+
- Bump the action runtime from Node 20 to Node 24 (`runs.using: node24`). Node 20 actions are deprecated by GitHub and will be force-defaulted to Node 24 on June 2, 2026, with Node 20 removed from the runner on September 16, 2026. The build target, CI matrix, `engines.node`, and `.nvmrc` are aligned to Node 24.
11+
912
## [1.0.0] — 2026-05-02
1013

1114
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Deploy a [Spice.ai Cloud](https://spice.ai) app from any GitHub workflow using O
1919
- **One step, full lifecycle** — resolve or create the app, push your `spicepod.yaml`, upsert app secrets, trigger the deployment, and (optionally) wait for it to finish.
2020
- **Post-deploy smoke tests** — verify the freshly-deployed runtime answers SQL, NSQL, search, chat-completion, and MCP requests before declaring the workflow green. SQL/NSQL/health probes use the official [`@spiceai/spice` SDK](https://www.npmjs.com/package/@spiceai/spice).
2121
- **Tags, region, replicas, channel** — all the dials you'd expect, plus deployment metadata (`branch`, `commit_sha`, `commit_message`) auto-populated from the GitHub event.
22-
- **Cross-platform** — Node 20 JavaScript action; runs on `ubuntu-latest`, `macos-latest`, and `windows-latest` runners.
22+
- **Cross-platform** — Node 24 JavaScript action; runs on `ubuntu-latest`, `macos-latest`, and `windows-latest` runners.
2323

2424
## Quickstart
2525

@@ -238,7 +238,7 @@ The Action job step summary records the deployment metadata and a per-probe pass
238238
239239
## Compatibility
240240

241-
- Runs on `ubuntu-latest`, `macos-latest`, and `windows-latest` (Node 20 JavaScript action).
241+
- Runs on `ubuntu-latest`, `macos-latest`, and `windows-latest` (Node 24 JavaScript action).
242242
- Bundles the `@spiceai/spice` SDK in HTTP mode — no Apache Arrow Flight gRPC dependencies are required at runtime.
243243
- Compatible with self-hosted runners that allow outbound HTTPS to `spice.ai`, `api.spice.ai`, and the regional `*-prod-aws-data.spiceai.io` host.
244244

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,5 @@ outputs:
189189
description: JSON array of `{ name, ok, durationMs, detail?, error? }` for each runtime probe.
190190

191191
runs:
192-
using: node20
192+
using: node24
193193
main: dist/index.js

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"url": "https://github.com/spicehq/spice-cloud-deploy-action.git"
1212
},
1313
"engines": {
14-
"node": ">=20"
14+
"node": ">=24"
1515
},
1616
"scripts": {
17-
"build": "esbuild src/main.ts --bundle --platform=node --target=node20 --outfile=dist/index.js --sourcemap --minify",
17+
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --outfile=dist/index.js --sourcemap --minify",
1818
"lint": "biome check src __tests__",
1919
"format": "biome format --write src __tests__",
2020
"test": "vitest run",

0 commit comments

Comments
 (0)