From 3dde77765a4d97fd5b8dac76c5636c81e76dc167 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sat, 17 Oct 2026 22:55:44 -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. Signed-off-by: Diego Resendez --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee47b67..4e544c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36631f5..ae097f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,8 @@ jobs: ARCHIVE_NAME: green-tea-docs-${{ github.ref_name }}.tar.gz RELEASE_TAG: ${{ github.ref_name }} 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 @@ -43,7 +43,7 @@ jobs: - name: Verify the archive has a home page run: tar -tzf "$ARCHIVE_NAME" | grep -Fx './index.html' - name: Attach to GitHub release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: prerelease: true files: ${{ env.ARCHIVE_NAME }}