From 99242db6de3f34cd593688801cac843db7845a92 Mon Sep 17 00:00:00 2001 From: prosdev Date: Wed, 1 Apr 2026 23:31:35 -0700 Subject: [PATCH] ci: bump actions to Node.js 24, drop broken npm step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - actions/checkout v4 → v6 - actions/setup-node v4 → v6 - pnpm/action-setup v4 → v5 - actions/cache v4 → v5 - Remove npm install -g from release (broken, unneeded) Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/deploy-docs.yml | 4 ++-- .github/workflows/release.yml | 10 +++------- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99165e5..b275471 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,19 +15,19 @@ jobs: node-version: [22.x] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v5 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Cache turbo - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .turbo key: turbo-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.sha }} diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index df32f47..e1aa608 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -23,10 +23,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 22 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a4cbc3..7ebec5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,25 +18,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # This makes sure we fetch all history so Changesets can compare versions fetch-depth: 0 - name: Setup pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v5 - name: Setup Node.js 22.x - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 22.x cache: 'pnpm' registry-url: 'https://registry.npmjs.org' - # Ensure npm 11.5.1+ for trusted publishing support - - name: Update npm - run: npm install -g npm@latest - - name: Install Dependencies run: pnpm install --frozen-lockfile