From 484121ec354881afd60960d535ffa920e3d0c57f Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 25 Aug 2026 22:28:26 +0000 Subject: [PATCH] Bump GitHub Actions to Node24-targeting majors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same fix as opencoachingformat/ocf-renderer: GitHub Actions is retiring the Node20 action runtime (github.blog/changelog/2025-09-19-deprecation- of-node-20-on-github-actions-runners). actions/checkout@v4, actions/setup-node@v4, actions/upload-pages-artifact@v3, and actions/deploy-pages@v4 across this workflow declare Node20 and are currently being silently force-run on Node24 rather than their declared runtime. Bumped actions/checkout to v7, actions/setup-node to v7 (Node24-native since checkout@v5 and setup-node@v6 respectively), actions/upload-pages-artifact to v5, and actions/deploy-pages to v5 (both Node24-native since their own v5.0.0 — v4 and earlier still call into a Node20 actions/upload-artifact internally). None of the breaking changes in these major bumps apply to this repo's standard-input Pages deploy usage. --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88fe7bf..39bcab4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,8 @@ jobs: name: Build & Validate runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' @@ -32,8 +32,8 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: '20' - run: bash scripts/check-version.sh "${GITHUB_REF_NAME}" @@ -43,8 +43,8 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' @@ -68,20 +68,20 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: # Need full history + all tags so build-pages.sh can pick the newest. fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' - run: npm ci - name: Assemble Pages site (release + preview) run: bash scripts/build-pages.sh _site - - uses: actions/upload-pages-artifact@v3 + - uses: actions/upload-pages-artifact@v5 with: path: '_site' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5