Skip to content

fix(deps): use pnpm 7 not pnpm 8 (new latest)#855

Merged
nagash77 merged 1 commit into
cypress-io:masterfrom
MikeMcC399:fix/pnpm-version7-lock
Mar 29, 2023
Merged

fix(deps): use pnpm 7 not pnpm 8 (new latest)#855
nagash77 merged 1 commit into
cypress-io:masterfrom
MikeMcC399:fix/pnpm-version7-lock

Conversation

@MikeMcC399

Copy link
Copy Markdown
Collaborator

This PR remediates a breaking change caused by the release of pnpm 8.0.0 on March 28, 2023.

Problem

pnpm install --frozen-lockfile does not accept pnpm-lock.yaml with lockfileVersion: 5.4 generated by pnpm v7.30.5.

pnpm 8.0.0 is a breaking change. Apart from the compatibility issue with lockfileVersion: 5.4 it also removes support for Node.js 14.

.github/workflows/example-basic-pnpm.yml uses pnpm/action-setup@v2 with: version: latest

Workaround

Bind pnpm/action-setup@v2 using with: version: 7.

Related

prevent using pnpm 8.0.0 with its breaking change
@nagash77 nagash77 merged commit a29a621 into cypress-io:master Mar 29, 2023
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 5.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants