From 9379b58dd8a1f5754fa5ccac878b6da20b18c86b Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sat, 17 Oct 2026 22:55:42 -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 Green-Tea/core#103 Signed-off-by: Diego Resendez --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/promote.yml | 2 +- .github/workflows/release.yml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67fce8f..c49d5e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,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 @@ -48,8 +48,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 @@ -71,8 +71,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' - run: npm ci diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 6b7286f..beadc5b 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -28,7 +28,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 93054cc..e6b89a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,8 @@ jobs: id-token: write # OIDC — this is what publishes, and what earns 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' - uses: denoland/setup-deno@v2