Skip to content

revert: "fix: use yarn instead of npx with yarn.lock (#914)"#942

Merged
nagash77 merged 1 commit intocypress-io:masterfrom
MikeMcC399:revert/pr-914
Jun 15, 2023
Merged

revert: "fix: use yarn instead of npx with yarn.lock (#914)"#942
nagash77 merged 1 commit intocypress-io:masterfrom
MikeMcC399:revert/pr-914

Conversation

@MikeMcC399
Copy link
Copy Markdown
Collaborator

@MikeMcC399 MikeMcC399 commented Jun 15, 2023

This PR reverts #914 which caused a breaking change due to replacing npx cypress cache list by yarn cypress cache list for Yarn projects.

If the working-directory contains a script definition with the name cypress then yarn uses this script definition instead of executing cypress from node_modules. In the case of issue #941 this caused the workflow to hang indefinitely.

PR #914 was intended to resolve an issue with Yarn Modern Plug'n'Play, however the PR is applied to all types of Yarn projects (Classic & Modern).

The changes defined in #914 should be rescheduled for a future date when other breaking changes are planned.

cc: @warrensplayer - Assignee of #914

@cypress-app-bot
Copy link
Copy Markdown

@MikeMcC399 MikeMcC399 marked this pull request as ready for review June 15, 2023 08:33
@nagash77 nagash77 merged commit d69252d into cypress-io:master Jun 15, 2023
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 5.8.3 🎉

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