From 716457518b34996eea8b4cb44282a8aa889422f8 Mon Sep 17 00:00:00 2001 From: jt Date: Fri, 24 Jul 2026 20:49:47 -0700 Subject: [PATCH] Pin release workflows to pnpm 9 to match the v9 lockfile Both release workflows still installed pnpm 8, which cannot read the lockfileVersion 9.0 pnpm-lock.yaml -- it would silently ignore the lockfile and install unpinned latest dependencies during release builds. Same fix ci.yml already received. Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 5 +++-- .github/workflows/update-json.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 656a160..37f1256 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,9 +35,10 @@ jobs: node-version: 20 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8 + # Must match the major that wrote pnpm-lock.yaml (lockfileVersion 9.0) + version: 9 run_install: false - name: Install Rust (Stable) diff --git a/.github/workflows/update-json.yml b/.github/workflows/update-json.yml index 401adea..ac9bb73 100644 --- a/.github/workflows/update-json.yml +++ b/.github/workflows/update-json.yml @@ -22,9 +22,10 @@ jobs: node-version: 20 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8 + # Must match the major that wrote pnpm-lock.yaml (lockfileVersion 9.0) + version: 9 run_install: false - name: Install Tauri CLI