Skip to content

Switch to pnpm to mitigate supply chain risks#19

Open
knuton wants to merge 1 commit into
dividat:mainfrom
knuton:use-pnpm
Open

Switch to pnpm to mitigate supply chain risks#19
knuton wants to merge 1 commit into
dividat:mainfrom
knuton:use-pnpm

Conversation

@knuton
Copy link
Copy Markdown
Member

@knuton knuton commented May 21, 2026

https://www.notion.so/dividat/Migrate-to-pnpm-from-npm-yarn-3666ed7e605280d8a9ebf5620014dcc7

Using pnpm imperatively-ish via corepack here. An alternative option would be getting it in via the Nix flake directly.

@knuton knuton force-pushed the use-pnpm branch 8 times, most recently from 738574f to fa454c7 Compare May 21, 2026 20:26
@knuton knuton marked this pull request as ready for review May 21, 2026 20:28
@knuton knuton changed the title Switch to pnpm Switch to pnpm to mitigate supply chain risks May 21, 2026
Using pnpm imperatively-ish via corepack here. An alternative option
would be getting it in via the Nix flake directly. Because
NodeJS/corepack runtime is available on CI runner images, it seems a bit
easier here to go that path rather than installing Nix to obtain
dependencies that way.

Without the CYPRESS_CACHE_FOLDER override, WebKit and Edge jobs failed
in CI, because cypress install script placed the downloaded binaries in
another location than they were later looked up at on macOS and Windows.
Not sure how/why pnpm caused cypress to change behaviour here.
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