-
Notifications
You must be signed in to change notification settings - Fork 340
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
Add scripts to update examples to cypress@latest #779
Add scripts to update examples to cypress@latest #779
Conversation
Tested locally on Ubuntu 22.04 and Windows 11 Pro. |
4807934
to
fba8e1e
Compare
I successfully ran this to update to Cypress 12.5.1, so from my point of view this PR is ready to merge. It's also non-critical in the sense that it is purely a maintenance tool. It is not called by the action itself or by the examples. I haven't submitted a PR with the actual update to Cypress 12.5.1 waiting in branch update/examples-to-12-5-1. |
Add MAINTENANCE document to new docs/ directory Extend markdown link check to docs/
cac8142
to
3cfc77b
Compare
This is now modified to save exact versions of Cypress i.e. In the latter case they already took the setting |
…McC399/github-action into build/update-cypress-latest
Co-authored-by: Bill Glesias <bglesias@gmail.com>
🎉 This PR is included in version 5.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR implements the suggestion from #767 "Automated examples update to latest Cypress version" by providing a new npm script command:
to update Cypress examples to the latest version of Cypress. (The v9 examples are untouched and left at version 9.7.0.)
The process is documented in docs/MAINTENANCE.md.
update-cypress-latest.sh
is the main scriptupdate-cypress-latest-npm.sh
updates examples usingnpm
update-cypress-latest-other.sh
updates examples usingyarn
andpnpm
The
npm run check:markdown
script is extended to check also the newdocs/
directory.The previous script scripts/npm-install-examples.sh is replaced.