From 180228f2d17b959b7fada365b9c88518fcb78e61 Mon Sep 17 00:00:00 2001 From: TheZwiss <151788261+TheZwiss@users.noreply.github.com> Date: Fri, 10 Jul 2026 01:02:47 +0200 Subject: [PATCH] ci: bump actions to Node 24 runtimes to clear deprecation warning (#8) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub is deprecating the Node 20 runtime for JS actions; every run printed a warning that actions/checkout@v4, actions/setup-node@v4 and pnpm/action-setup@v4 were being force-run on Node 24. Bump each to its first Node 24 major (v5) across all workflows — the smallest jump that clears the warning, avoiding the extra behavior changes in checkout v6/v7 (credential persistence, fork-PR blocking) that don't apply here. Our checkout jobs use push/pull_request, not pull_request_target/workflow_run, so none are affected regardless. Also bump the GitHub Pages actions in deploy-pages.yml (configure-pages v5->v6, upload-pages-artifact v3->v5, deploy-pages v4->v5), which were likewise on Node 20. Inputs are unchanged; pnpm still pinned to 10.34.3 via the version input and the packageManager field. --- .github/workflows/ci.yml | 6 +++--- .github/workflows/deploy-pages.yml | 8 ++++---- .github/workflows/docker-publish.yml | 2 +- .github/workflows/release.yml | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 847cffa8..f6683dad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,10 +27,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v5 with: version: 10.34.3 @@ -39,7 +39,7 @@ jobs: # install below pulls better-sqlite3's prebuilt binary for the correct ABI, # which is what makes the server suite runnable in CI. - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: pnpm diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 81d582d0..e68102dc 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -24,10 +24,10 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - - uses: actions/checkout@v4 - - uses: actions/configure-pages@v5 - - uses: actions/upload-pages-artifact@v3 + - uses: actions/checkout@v5 + - uses: actions/configure-pages@v6 + - uses: actions/upload-pages-artifact@v5 with: path: ./site - id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e11adc35..4c85d13d 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 # The runtime image bakes the git commit for the AGPL-3.0 § 13 source # offer (config.commit → GET /api/instance/info). The .git dir is not in diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2da99daa..b36e9d67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Linux build dependencies if: runner.os == 'Linux' @@ -65,12 +65,12 @@ jobs: sudo gem install --no-document fpm - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v5 with: version: 10.34.3 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 20 cache: pnpm