Skip to content

ci: move pnpm onlyBuiltDependencies to pnpm-workspace.yaml - #5

Merged
ccakes merged 3 commits into
mainfrom
fix/pnpm-workspace-config
May 27, 2026
Merged

ccakes merged 3 commits into
mainfrom
fix/pnpm-workspace-config

Conversation

@ccakes

@ccakes ccakes commented May 27, 2026

Copy link
Copy Markdown
Owner

pnpm 10 stopped reading the pnpm field in package.json, so the previous fix was silently ignored — [ERR_PNPM_IGNORED_BUILDS] is back on the v0.3.0 retag.

Moves the allowlist to elo-tauri/pnpm-workspace.yaml (the new home in pnpm 10).

Also runs pnpm install --frozen-lockfile in the Test job so frontend-install regressions fail on every push/PR rather than only on tag pushes.

ccakes added 3 commits May 27, 2026 15:44
pnpm 10 stopped reading settings from the "pnpm" field in
package.json — the previous fix was silently ignored with a warning.
Settings now live in pnpm-workspace.yaml.

Also run pnpm install in the Test job so this class of regression
fails on every push/PR instead of only on tag pushes.
pnpm 10 added strict rejection of dependencies with unallowlisted build
scripts (esbuild's postinstall trips it). The allowlist setting then
moved twice — out of package.json 'pnpm' field (10) and into
pnpm-workspace.yaml (11), but the workspace file isn't being honored in
our single-package layout. Pin to pnpm 9 until the config story settles.

Drops the unused elo-tauri/pnpm-workspace.yaml.
Other actions already on their latest major:
  actions/checkout@v6
  actions/setup-node@v6
  actions/upload-artifact@v7
  actions/download-artifact@v8
  Swatinem/rust-cache@v2
  dtolnay/rust-toolchain@nightly (channel pin, not a version)
@ccakes
ccakes merged commit 5ce0153 into main May 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant