Skip to content

Switch to pnpm to mitigate supply chain risks#19

Merged
stoeffel merged 1 commit into
dividat:mainfrom
knuton:use-pnpm
May 28, 2026
Merged

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

Conversation

@knuton

@knuton knuton commented May 21, 2026

Copy link
Copy Markdown
Member

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.

@stoeffel stoeffel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looking good! thanks

@stoeffel stoeffel merged commit 1951c24 into dividat:main May 28, 2026
6 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