-
Notifications
You must be signed in to change notification settings - Fork 356
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
feat: add yarn berry / modern (version 2 and later) examples #838
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!
🎉 This PR is included in version 5.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Many thanks for merging! Now that Yarn Classic and Modern are documented, I will follow up by documenting |
If you are able to, please follow the instructions in Updating the latest version in GitHub Marketplace since the Marketplace version is lagging behind at v5.3.1. If not, then perhaps @jaffrepaul will need to take action? |
Thanks @MikeMcC399, done! The marketplace now shows 5.5.1 as the latest. |
This PR is related to issue #799 "Examples for Yarn 1 (Classic) and Yarn Berry / Modern (Version 2 and later)" and it complements the Yarn 1 (Classic) examples added through PR #828.
It provides new examples for Yarn Modern under the directories:
examples/yarn-modern
examples/v9/yarn-modern
together with a new corresponding workflow
example-yarn-modern.yml
an update to the following script to automate maintenance updates to
cypress@latest
scripts/update-cypress-latest-other.sh
and an update to
README.md
Verification
Local
nvm use 18 # for node v18.15.0 npm install yarn -g yarn -v
expect
1.22.19
Yarn Modern with Cypress 9.7.0
From root of repository ...
Confirm Cypress test passes.
Yarn Modern with Cypress 12.8.1
From root of repository ...
Confirm Cypress test passes.
Update script
From root of repository ...
Confirm that Cypress has been updated to latest version (12.8.1).
GitHub
Manually run the workflow
example-yarn-modern.yml
and confirm success.