Commit 0129781
fix(ci): unblock CI — declare workspace root + bump pnpm to v10
Last 5 pushes (G-29..G-37) reported red on GitHub:
ERROR packages field missing or empty
For help, run: pnpm help store
Two compounding causes:
1. `pnpm-workspace.yaml` listed `ignoredBuiltDependencies` only,
no `packages` field. pnpm 10+ treats the file as a workspace
marker and requires `packages` even for single-package roots.
Without it `actions/setup-node@v4`'s `cache: pnpm` setup runs
`pnpm store path --silent` which now refuses to enumerate the
store before a workspace is resolved → setup fails before
`pnpm install` even runs.
2. The CI matrix pinned pnpm v9 but my recent
`pnpm.onlyBuiltDependencies` field in package.json (4a50784)
is a pnpm 10+ schema. v9 either ignores it (silent drift) or
warns; either way the local + CI environments diverge. Bumped
both `pnpm/action-setup@v3 with: version` slots from 9 → 10
so the runtime matches what we actually develop against.
Verified locally:
- pnpm install --frozen-lockfile → success (Done in 13.9s, pnpm v10.33.0)
This commit unblocks the prior 5 CI runs by retroactively making
the workspace declaration valid; pushing it triggers a fresh CI
that should land green.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 826fe59 commit 0129781
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
0 commit comments