revert: "fix: use yarn instead of npx with yarn.lock (#914)" #942
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR reverts #914 which caused a breaking change due to replacing
npx cypress cache list
byyarn 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 executingcypress
fromnode_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