From c70c6f0eeb14bb7ea6d0c7e448aab58073f8f95e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 25 Aug 2026 22:38:51 +0000 Subject: [PATCH] ci: update actions off the deprecated Node 20 runtime Every run of all three workflows warns that actions/checkout@v4, actions/setup-node@v4 and pnpm/action-setup@v4 target Node 20 and are being forced onto Node 24. That fallback is temporary; when it goes, CI and the nightly registry publish go with it. The pins were three majors behind: checkout and setup-node v4 -> v7, cache v4 -> v6, pnpm/action-setup v4 -> v6. Deliberately does NOT touch `node-version: '20'`, which is the Node the project itself builds and tests on. That is a separate and riskier change: better-sqlite3 has already been observed failing against a newer Node in this repo, so moving it needs its own PR with the native rebuild verified. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01NBQQpA86yYzwJUiVz8ph2R --- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/registry-update.yml | 6 +++--- .github/workflows/release.yml | 8 ++++---- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daae219..b388bd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,17 +25,17 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v6 with: version: 10.27.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'pnpm' @@ -44,7 +44,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Setup Turbo cache - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: .turbo key: ${{ runner.os }}-turbo-${{ hashFiles('pnpm-lock.yaml') }} @@ -60,17 +60,17 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v6 with: version: 10.27.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'pnpm' @@ -79,7 +79,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Setup Turbo cache - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: .turbo key: ${{ runner.os }}-turbo-${{ hashFiles('pnpm-lock.yaml') }} @@ -95,17 +95,17 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v6 with: version: 10.27.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'pnpm' @@ -114,7 +114,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Setup Turbo cache - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: .turbo key: ${{ runner.os }}-turbo-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/registry-update.yml b/.github/workflows/registry-update.yml index 6a61b7e..f37e3c5 100644 --- a/.github/workflows/registry-update.yml +++ b/.github/workflows/registry-update.yml @@ -25,17 +25,17 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v6 with: version: 10.27.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'pnpm' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42860b8..b2bc4df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,17 +20,17 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v6 with: version: 10.27.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'pnpm' @@ -40,7 +40,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Setup Turbo cache - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: .turbo key: ${{ runner.os }}-turbo-${{ hashFiles('pnpm-lock.yaml') }}