-
Notifications
You must be signed in to change notification settings - Fork 36
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
ci: remove cypress reinstalls, commit package-lock files right when bumping #2069
Conversation
Thanks for your contribution @ThibodeauJF !
|
Pull Request Report PR Title ✅ Title follows the conventional commit spec. Bundle Size
|
- uses: actions/cache@v2 | ||
id: cypress-cache | ||
with: | ||
path: ~/.cache/Cypress |
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.
As of Cypress version 3.0, Cypress downloads its binary to the global system cache - on linux that is ~/.cache/Cypress. By ensuring this cache persists across builds you can save minutes off install time by preventing a large binary download.
https://docs.cypress.io/guides/continuous-integration/introduction#Caching
@btaillon current solution isn't fully working, I need a bit of help with the angular package, not sure how it works differently than others here...
|
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.
I'd be mega tempted to approve, but seems like the e2e are still failing. Do you need help on that front to investigate what's going on ?
@@ -18,6 +18,7 @@ async function checkoutLatestMaster() { | |||
|
|||
async function bumpVersionAndPush() { | |||
try { | |||
// But wait, there's more! https://github.com/lerna/lerna/blob/main/commands/version/README.md#lifecycle-scripts |
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.
@olamothe there's the angular e2e sample not having the @coveo/atomic-angular package installed that's still a bit problematic |
will reopen later perhaps |
https://coveord.atlassian.net/browse/KIT-1719
Example issue
Created KIT-1718 branch since the latest release
Headless versions are the same in the files (1.70.1)
https://github.com/coveo/ui-kit/blob/KIT-1718/packages/headless/package.json#L18
https://github.com/coveo/ui-kit/blob/KIT-1718/packages/headless/package-lock.json#L3
Yet we get this error in the e2e test https://github.com/coveo/ui-kit/runs/6798309712?check_suite_focus=true
We somehow have a lockfile with the wrong version with some e2e cypress tests.