Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Jun 15, 2023

Conversation

MikeMcC399
Copy link
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

@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
117 checks passed
@github-actions
Copy link

🎉 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.

None yet

3 participants