ci: use pnpm/action-setup@v4 so CI reads the pinned pnpm version

The openapi/storybook/embeds workflows pinned pnpm 8 and cypress pinned
pnpm 6 via action-setup@v2. The repo's lockfile is lockfileVersion 9.0
(written by the pinned packageManager [email protected].0), which pnpm 8/6 cannot
read — it ignored the lockfile and --frozen-lockfile failed with
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH. Drop the explicit version and let
action-setup@v4 resolve pnpm from the packageManager field, matching the
already-working publish-mcp / publish-course-app workflows.
This commit is contained in:
Rotimi Best
2026-06-07 19:05:15 +01:00
parent 59164c8cee
commit 2f1b6376ff
4 changed files with 4 additions and 14 deletions
+1 -4
View File
@@ -11,7 +11,6 @@ on:
env:
NODE_VERSION: "20"
PNPM_VERSION: "8"
jobs:
build-and-deploy-embeds:
@@ -28,9 +27,7 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@v4
- name: Get pnpm store directory
shell: bash