-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[code-infra] Remove required checkout step #17729
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
Conversation
Deploy preview: https://deploy-preview-17729--material-ui-x.netlify.app/ |
Oh, because of mui/material-ui#40670. Is this still true with the latest pnpm version? If yes, then all the repositories we have do this wrong and should be updated. A great way to make the CI at least 60s faster for everyone in the org. |
Yes, we still don't cache the pnpm store on CircleCI. |
I wonder if it's still an up-to-date decision. But yeah, ok, it seems like it, e.g. vercel/next.js#75600 no pnpm caching either for Next.js. |
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.
very nice 👌
I guess the difference will be that now the dedupe check doesn't block running the rest of the tests anymore. perhaps we should just fold this check into the test_static job? Porting to core: mui/material-ui#46099. |
I think it would make sense |
Porting to Base UI: mui/base-ui#1883 |
Remove
requires: - checkout
for CircleCI steps.Since mui/material-ui#40670, we no longer rely on the checkout step to cache the npm dependencies installation, it turns out that it's faster to start from scratch. So this checkout step doesn't speed up the CI, and only blocks running the cases, we forget to dedupe the installs. So it's slower. This should trim ~2 minutes from the overall wait time for the tests to run, since all tests wait for this to finish.