Problem
The test job fails immediately on pull requests opened from forks, with:
Error: No pnpm version is specified.
Example: PR #271 (failing run). All PRs from internal branches pass, only fork PRs are affected. The Vercel check fails on forks too, for a separate reason (authorization).
Cause
.github/workflows/tests.yml pins pnpm via ${{ vars.PNPM_VERSION }}. GitHub does not expose repository variables to workflows triggered by pull_request events from forks, so the version resolves to an empty string and pnpm/action-setup aborts before installing anything.
Proposed fix
Add a "packageManager": "pnpm@<version>" field to package.json. It is the standard fallback for pnpm/action-setup, works for forks, and enables corepack locally. Alternatively, add a fallback in the workflow: version: ${{ vars.PNPM_VERSION || '<version>' }}.
This currently blocks CI for all external contributions.
Problem
The
testjob fails immediately on pull requests opened from forks, with:Example: PR #271 (failing run). All PRs from internal branches pass, only fork PRs are affected. The Vercel check fails on forks too, for a separate reason (authorization).
Cause
.github/workflows/tests.ymlpins pnpm via${{ vars.PNPM_VERSION }}. GitHub does not expose repository variables to workflows triggered bypull_requestevents from forks, so the version resolves to an empty string andpnpm/action-setupaborts before installing anything.Proposed fix
Add a
"packageManager": "pnpm@<version>"field topackage.json. It is the standard fallback forpnpm/action-setup, works for forks, and enables corepack locally. Alternatively, add a fallback in the workflow:version: ${{ vars.PNPM_VERSION || '<version>' }}.This currently blocks CI for all external contributions.