Skip to content

fix(ci): install pnpm without corepack in the browser jobs - #68

Merged
htcom-code merged 1 commit into
mainfrom
fix/ci-browser-pnpm-without-corepack
Nov 2, 2026
Merged

htcom-code merged 1 commit into
mainfrom
fix/ci-browser-pnpm-without-corepack

Conversation

@htcom-code

Copy link
Copy Markdown
Owner

The browser jobs in ci.yml and release.yml started failing at their
first step with "corepack: not found". The playwright:v1.64.1-noble
tag was re-published (digest sha256:2f05f8a7...) and now ships Node
26.13.0, and Node stopped bundling corepack in 25. Nothing in the
repo changed; any pull request or release run hits it.

npm install -g corepack is not a way back: its yarn shims collide
with the yarn the image already installs (EEXIST /usr/bin/yarnpkg).
So the two container jobs install pnpm 11.1.3 from npm directly, the
same pinned version. The other jobs run setup-node 22, which still
bundles corepack, and keep it.

Verification

In mcr.microsoft.com/playwright:v1.64.1-noble at the digest CI now pulls (Node 26.13.0), on a clean copy of the tracked files:

  • npm install -g pnpm@11.1.3 → pnpm -v is 11.1.3
  • pnpm install --frozen-lockfile — clean
  • pnpm test:browser — 477 tests pass

The failing run this fixes: https://github.com/htcom-code/hexcanvas/actions/runs/41366290165 (on #67, whose other jobs pass).

The browser jobs in ci.yml and release.yml started failing at their
first step with "corepack: not found". The playwright:v1.64.1-noble
tag was re-published (digest sha256:2f05f8a7...) and now ships Node
26.13.0, and Node stopped bundling corepack in 25. Nothing in the
repo changed; any pull request or release run hits it.

npm install -g corepack is not a way back: its yarn shims collide
with the yarn the image already installs (EEXIST /usr/bin/yarnpkg).
So the two container jobs install pnpm 11.1.3 from npm directly, the
same pinned version. The other jobs run setup-node 22, which still
bundles corepack, and keep it.

Tags: #ci

Co-Authored-By: htjulia <htjulia1@gmail.com>
@htcom-code
htcom-code merged commit 0b6f34a into main Nov 2, 2026
4 checks passed
@htcom-code
htcom-code deleted the fix/ci-browser-pnpm-without-corepack branch November 2, 2026 00:31
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