From 7bc402a1fbeb6a0eb3bad123c6fe1f97cae95190 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sat, 17 Oct 2026 22:55:41 -0500 Subject: [PATCH] ci: move workflow actions off the deprecated Node 20 runtime 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 --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/promote.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/stage.yml | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 725e404..3fac404 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 67eba97..3e4dfee 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d1f117..3545fe4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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' diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 3dcaacd..5a62f12 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -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