Skip to content

Fix - CI dependency install fails with pnpm 11 on Node 20 runners - #141

Merged
deepench merged 2 commits into
developfrom
fix/pnpm-version-ci-compat
Sep 25, 2026
Merged

deepench merged 2 commits into
developfrom
fix/pnpm-version-ci-compat

Conversation

@deepench

Copy link
Copy Markdown
Contributor

Changes proposed in this Pull Request:

The e2e test suite and the "Build Testable ZIP" workflow could not run on any pull request in this repo. Both failed at the dependency-install step with a Node.js error (), because the pinned package manager version (pnpm 11) requires a newer Node.js than what the CI runners provide. This fix pins back to a compatible pnpm version and updates the lockfile to match, so these checks can run again on this and future pull requests.

How to test the changes in this Pull Request:

  1. Open this pull request on GitHub and check its "Checks" tab.
  2. The QA suite and Build ZIP workflows should get past the dependency-install step (they may still report other results, but they should no longer fail immediately at install).

Types of changes:

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (modification of the currently available functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Other information:

  • Have you added an explanation of what your changes do and why you would like us to include them?
  • Have you successfully ran tests with your changes locally?
  • Have you updated the documentation accordingly?

Changelog entry

Fix - CI dependency install fails with pnpm 11 on Node 20 runners.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Critical CI package-manager and build-script configuration issues remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 High severity

Open (2)
What changed in this PR

This pull request restores CI dependency installation on Node 20 by pinning pnpm and refreshing workspace metadata.

Changes:

  • Pins pnpm to 9.15.9.
  • Adds root workspace configuration.
  • Regenerates the pnpm lockfile.

The Build Testable ZIP workflow still uses npm without a lockfile, and the pnpm version is incompatible with the configured allowBuilds setting.

File Description
pnpm-workspace.yaml Adds root workspace configuration.
pnpm-lock.yaml Updates dependency snapshots and metadata.
package.json Pins pnpm to 9.15.9.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json Outdated
@@ -1,5 +1,5 @@
{
"packageManager": "pnpm@11.24.0",
"packageManager": "pnpm@9.15.9",
Comment thread package.json Outdated
@@ -1,5 +1,5 @@
{
"packageManager": "pnpm@11.24.0",
"packageManager": "pnpm@9.15.9",
…ript allowlist key

pnpm 9 doesn't gate install/postinstall scripts at all, so downgrading to it
silently dropped the build-script allowlist protection pnpm 11 had (verified
directly: pnpm 11 blocks an unlisted package's postinstall by default, pnpm 9
runs every package's scripts unconditionally). pnpm 10.34.5 declares the same
Node >=18.12 compatibility as 9, so it still fixes the original CI failure,
but keeps the same default-deny behavior as 11.

Also switched pnpm-workspace.yaml from the pnpm 11-only "allowBuilds" map
(confirmed not recognized by pnpm 10) to the documented, version-portable
"onlyBuiltDependencies" array, which works correctly on both.
@deepench
deepench merged commit edb501e into develop Sep 25, 2026
3 of 4 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.

2 participants