From ca5ab75f6b20ba62bb764ab6d2a519d6aecdff23 Mon Sep 17 00:00:00 2001 From: Hugh Hackman Date: Sun, 22 Mar 2026 05:09:31 +0000 Subject: [PATCH] ci: remove version: latest from pnpm setup in plugin-release pnpm/action-setup@v4 errors with ERR_PNPM_BAD_PM_VERSION when both `version` (in the workflow) and `packageManager` (in package.json) are specified. Remove the hardcoded `version: latest` from plugin-release so that repos can pin their pnpm version via the packageManager field in package.json. When packageManager is absent the action falls back to latest (same prior behavior). When packageManager is set it is used exclusively, which prevents silent version drift. The plugin-ci.yaml change is handled separately in PR #54. Co-Authored-By: Paperclip --- .github/workflows/plugin-release.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/plugin-release.yaml b/.github/workflows/plugin-release.yaml index 56ccd1e..c0b32c8 100644 --- a/.github/workflows/plugin-release.yaml +++ b/.github/workflows/plugin-release.yaml @@ -113,7 +113,6 @@ jobs: uses: pnpm/action-setup@v4 with: run_install: false - version: latest - name: Setup Node uses: actions/setup-node@v4