From 93be37771311142038aaf6a6afd91ddaf6f62665 Mon Sep 17 00:00:00 2001 From: wardbox Date: Mon, 27 Apr 2026 12:12:42 -0700 Subject: [PATCH 1/2] ci: upgrade actions to Node 24 versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub Actions warned that Node 20 actions are deprecated and will be forced to Node 24 by June 2, 2026. Bump to latest majors that ship on Node 24: - actions/checkout v4 → v6 - actions/setup-node v4 → v6 - pnpm/action-setup v4 → v5 - peter-evans/create-pull-request v7 → v8 Major-only tags so future patch/minor updates flow in automatically. None of these majors introduce behavioral breaks for this repo (no `packageManager` field, so setup-node v5+ auto-cache detection won't trigger; existing `cache: 'pnpm'` config is unaffected). Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/docs.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- .github/workflows/schema-drift.yml | 8 ++++---- .github/workflows/token-check.yml | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47bf8b9..a1616cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,13 +19,13 @@ jobs: name: Build + gates (node 22) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@v5 with: version: 10.11.0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: '22' cache: 'pnpm' @@ -100,7 +100,7 @@ jobs: matrix: runtime: [node-esm, node-cjs, deno, bun] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Download packed tarball uses: actions/download-artifact@v4 @@ -111,13 +111,13 @@ jobs: # Node legs share pnpm + Node setup - name: Setup pnpm if: startsWith(matrix.runtime, 'node') - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v5 with: version: 10.11.0 - name: Setup Node if: startsWith(matrix.runtime, 'node') - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '22' cache: 'pnpm' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d00e54d..cf2647c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,11 +18,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 + - uses: actions/checkout@v6 + - uses: pnpm/action-setup@v5 with: version: 10 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: '22' cache: 'pnpm' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7eb2d6..0929b0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,18 +19,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v5 with: version: 10 # Trusted publishing requires npm >= 11.5.1 which ships with Node 24 - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '24' cache: 'pnpm' diff --git a/.github/workflows/schema-drift.yml b/.github/workflows/schema-drift.yml index 4637603..ca3db82 100644 --- a/.github/workflows/schema-drift.yml +++ b/.github/workflows/schema-drift.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'wardbox/whisper' steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 + - uses: actions/checkout@v6 + - uses: pnpm/action-setup@v5 with: version: 10.11.0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: '22' cache: 'pnpm' @@ -37,7 +37,7 @@ jobs: fi - name: Create PR if: steps.diff.outputs.changed == 'true' - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v8 with: title: 'chore: update schemas for Riot API changes' branch: schema-drift-update diff --git a/.github/workflows/token-check.yml b/.github/workflows/token-check.yml index 974741c..da391e8 100644 --- a/.github/workflows/token-check.yml +++ b/.github/workflows/token-check.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'wardbox/whisper' steps: - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: '22' registry-url: 'https://registry.npmjs.org' From 42c6c77d9a3e003665c40e6ea18c54aa656b8055 Mon Sep 17 00:00:00 2001 From: wardbox Date: Mon, 27 Apr 2026 12:35:10 -0700 Subject: [PATCH 2/2] ci: bump remaining artifact + pages actions to Node 24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to prior commit — the green CI run revealed additional Node 20 deprecation warnings for actions not flagged by the original GitHub warning we acted on. - actions/upload-artifact v4 → v7 - actions/download-artifact v4 → v8 - actions/upload-pages-artifact v3 → v5 - actions/deploy-pages v4 → v5 download-artifact v5 introduced a breaking change for downloads-by-ID; this repo downloads by name, so the change is a no-op here. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 4 ++-- .github/workflows/docs.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1616cf..4f2cab8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: run: node e2e/smoke/tree-shake/check.mjs - name: Upload packed tarball for smoke matrix - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: whisper-tarball path: e2e/smoke/wardbox-whisper-*.tgz @@ -103,7 +103,7 @@ jobs: - uses: actions/checkout@v6 - name: Download packed tarball - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: whisper-tarball path: e2e/smoke/ diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cf2647c..29ca457 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,7 +32,7 @@ jobs: run: pnpm --filter whisper-docs build env: PAGES_BASE_PATH: /whisper - - uses: actions/upload-pages-artifact@v3 + - uses: actions/upload-pages-artifact@v5 with: path: packages/docs/out @@ -44,4 +44,4 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5