Skip to content

Fix Node 26 CI failure by removing unsupported pnpm v11 global config#138

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

Fix Node 26 CI failure by removing unsupported pnpm v11 global config#138
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job-again

Conversation

Copilot AI commented Jun 9, 2026

Copy link
Copy Markdown

The build (26.x) GitHub Actions job failed during dependency setup because the workflow invoked a pnpm global config key that is unsupported in pnpm v11. This PR removes the incompatible command from the shared module cache action used by the build pipeline.

  • Root cause

    • pnpm config set auto-install-peers false fails on pnpm v11 with ERR_PNPM_CONFIG_SET_UNSUPPORTED_YAML_CONFIG_KEY, stopping the job before install/build.
  • Workflow change

    • Updated .github/module-cache/action.yaml to remove the unsupported global config mutation.
    • Kept dependency installation behavior intact via pnpm install.
  • Impact scope

    • Affects all workflows/composite actions reusing .github/module-cache, including the failing build (26.x) path.
    • No application/runtime code changes.
# .github/module-cache/action.yaml
- name: Install dependencies
  run: |
    pnpm install
  shell: bash

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying samples with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0f58437
Status:🚫  Build failed.

View logs

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build (26.x) Fix Node 26 CI failure by removing unsupported pnpm v11 global config Jun 9, 2026
Copilot AI requested a review from SanderElias June 9, 2026 09:14
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