From 680a24c69001a31c1910f691308824449c3f3724 Mon Sep 17 00:00:00 2001 From: willbot Date: Fri, 6 Nov 2026 19:28:57 +0100 Subject: [PATCH] Run the bump script with node so pnpm's frozen install check does not stop it pnpm 11 installs before running a script, and in CI that install is frozen. After the product pins change, the lockfile no longer matches, so `pnpm bump-version` failed before the script could refresh the lockfile. Running the script with node skips that check. Signed-off-by: willbot Signed-off-by: Will Madden --- .github/workflows/update-product-versions.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-product-versions.yml b/.github/workflows/update-product-versions.yml index 639f7cdf..2eebd09e 100644 --- a/.github/workflows/update-product-versions.yml +++ b/.github/workflows/update-product-versions.yml @@ -70,9 +70,13 @@ jobs: - name: Bump the CLI version id: bump if: ${{ steps.compare.outputs.changed == 'true' }} + # Not `pnpm bump-version`: pnpm verifies the install before running a + # script, and in CI that is a frozen install, which fails because + # the manifests now pin versions the lockfile does not. The script + # refreshes the lockfile itself. run: | corepack enable - pnpm bump-version + node scripts/bump-version.ts echo "version=$(node -p "require('./package.json').version")" >> "$GITHUB_OUTPUT" - name: Open the pull request with auto-merge