Skip to content

Fix pnpm install failure in GitHub Actions build job#2

Draft
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-failing-github-actions-job
Draft

Fix pnpm install failure in GitHub Actions build job#2
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Jun 7, 2026

Copy link
Copy Markdown

The build GitHub Actions job was failing before the app build started because pnpm install exited with ERR_PNPM_IGNORED_BUILDS. This change updates the workspace policy so CI explicitly approves the native package build scripts the project already depends on.

  • Root cause

    • pnpm now requires explicit build-script approvals for native dependencies during install.
    • The workspace had onlyBuiltDependencies, but not the concrete allowBuilds approvals that CI now expects.
  • Change

    • Added allowBuilds entries to /tmp/workspace/chrisgb-dev/rosser/pnpm-workspace.yaml for the native packages used by the app:
      • @parcel/watcher
      • better-sqlite3
      • esbuild
      • sharp
      • workerd
  • Effect

    • Keeps the install policy explicit.
    • Unblocks pnpm install in Actions so the existing pnpm build step can run.
allowBuilds:
  '@parcel/watcher': true
  better-sqlite3: true
  esbuild: true
  sharp: true
  workerd: true

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 7, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
rosser b8f1b52 Commit Preview URL

Branch Preview URL
Jun 07 2026, 03:24 AM

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Fix pnpm install failure in GitHub Actions build job Jun 7, 2026
Copilot AI requested a review from chrisgb-dev June 7, 2026 03:24
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