-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 cache to node workflows #5924
Conversation
Hi @oscard0m, comparing this PR workflow and an uncached one the CI times seems similar (if you sum up Can you confirm this? What are the benefits of adding cache except CI speed? |
There should not be any noticeable change in performance. |
To clarify, the workflow runs I linked compare a cached version via We do use caching for the Should we apply this change only to the |
👍🏽
From what I read, it should be equivalent to use
Here are some expected numbers depending on the Operating System and the number of dependencies: actions/setup-node#271 (comment) Since, in my understanding, are equivalent, it would be a matter of reducing the amount of lines in this workflow. On the other hand, I guess in the second scenario where we are running an extra step for checking out Am I answering your doubts @erezrokah |
Thanks @oscard0m, I think we are discussing 2 different things:
Context: we removed caching for Windows a while back due to actions/cache#442 |
Thanks for clarifying, yep, we were talking about 2 different things. Thanks for your patience here :)
👍🏽
I would be happy to apply these changes and run the comparison. Do you think it would have sense to do it in a different PR and change the title and commits to be more specific explaining the jobs affected? |
I think it would. A separate PR for the thing we can ship and another to see performance changes will be great. |
Closing this per our discussion. We can re-visit once we have a comparison on the performance improvements |
Summary
Follow up from #5895