a5c19aae8d1034f49cf26fdd06ee8a513919cb27
pnpm/action-setup@v4 errors with "Multiple versions of pnpm specified" even when no explicit version input is provided, if the repo has a packageManager field in package.json. Switch to Corepack for repos that pin their pnpm version via the packageManager field. Corepack reads the version from package.json directly and installs it without conflicting with pnpm/action-setup. Repos without a packageManager field continue using pnpm/action-setup@v4 with version: latest (unchanged behavior). Unblocks headlamp-polaris-plugin PR #103 (ci/pin-pnpm-version). Co-Authored-By: Paperclip <noreply@paperclip.ing>
Description
Languages
Shell
100%