Pin pnpm to 9.10.0 for docs-site builds #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "initial-development"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Corepack defaulted the docs-site stage to pnpm 11.4.0, which exits
non-zero on
pnpm installwhen packages with postinstall scripts(sharp, esbuild) aren't on an explicit approve list. The
fragmented-infra public-sites Docker build failed during the
guitar-prometheus-docs-builder stage with ERR_PNPM_IGNORED_BUILDS.
The personal-blog and link-tree builders dodge this because their
package.json pins
packageManager: pnpm@9.10.0— 9.x predates theapprove-builds requirement. Match their pattern here so the three
public-sites builds use the same toolchain version.
Also adds
pnpm.onlyBuiltDependencies: [esbuild, sharp]as belt-and-suspenders: when the pnpm pin eventually moves to 10+/11+, the
whitelist is already in place to keep CI green.