ci: move workflow actions off the deprecated Node 20 runtime
CI / dco (pull_request) Successful in 13s
CI / runtimes (bun) (pull_request) Successful in 37s
CI / build (pull_request) Successful in 53s
CI / runtimes (edge) (pull_request) Successful in 14s
CI / runtimes (deno) (pull_request) Successful in 20s

actions/checkout and actions/setup-node v4 -> v5, softprops/action-gh-release
v2 -> v3; all three run on Node 24. setup-deno@v2, setup-bun@v2 and
crates-io-auth-action@v1 already resolve to Node 24 releases. Jobs keep
node-version 22.

Refs #103

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-10-17 22:55:41 -05:00
1 parent 539f287a67
commit 7bc402a1fb
4 files changed
+10 -10

No files matched your search

+5 -5
View File
@@ -13,7 +13,7 @@ jobs:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Every commit needs a Signed-off-by
@@ -38,8 +38,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '22'
- run: npm ci
@@ -73,8 +73,8 @@ jobs:
matrix:
runtime: [deno, bun, edge]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '22'
# All three need the dependency tree: the edge suite drives workerd from a Node process, and
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
if: ${{ github.server_url != 'https://github.com' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # full history for a clean push
- name: Push to GitHub
+2 -2
View File
@@ -18,8 +18,8 @@ jobs:
id-token: write # OIDC for Trusted Publishing (also enables provenance)
contents: write # create the GitHub release for this tag
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
+2 -2
View File
@@ -19,8 +19,8 @@ jobs:
if: ${{ github.server_url != 'https://github.com' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '22'
- run: npm ci