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 <noreply@paperclip.ing>
This commit is contained in:
Hugh Hackman
2026-03-22 05:09:31 +00:00
parent a62d4181ee
commit ca5ab75f6b
-1
View File
@@ -113,7 +113,6 @@ jobs:
uses: pnpm/action-setup@v4
with:
run_install: false
version: latest
- name: Setup Node
uses: actions/setup-node@v4