Skip to content

Fix CI check failure by approving required pnpm build scripts#6

Merged
Hccake merged 2 commits into
mainfrom
copilot/fix-check-github-actions-job
Jun 10, 2026
Merged

Fix CI check failure by approving required pnpm build scripts#6
Hccake merged 2 commits into
mainfrom
copilot/fix-check-github-actions-job

Conversation

Copilot AI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

check failed during pnpm install because pnpm’s supply-chain policy blocked dependency build scripts (ERR_PNPM_IGNORED_BUILDS for esbuild and msw). This PR adds explicit build-script approvals so dependency installation can complete in CI.

  • Root cause

    • pnpm 11 requires explicit approval for dependency build/postinstall scripts under strict policy mode.
    • esbuild and msw were unapproved, causing pnpm install to exit non-zero.
  • Change made

    • Added workspace-level pnpm build-script approvals in pnpm-workspace.yaml:
allowBuilds:
  esbuild: true
  msw: true
  • Impact
    • Unblocks pnpm install in the check workflow without changing app/runtime logic.
    • Keeps the change scoped to dependency policy configuration.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job check Fix CI check failure by approving required pnpm build scripts Jun 10, 2026
Copilot AI requested a review from Hccake June 10, 2026 06:22
@Hccake Hccake marked this pull request as ready for review June 10, 2026 06:26
@Hccake Hccake merged commit 4477486 into main Jun 10, 2026
1 check 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.

2 participants