Skip to content

feat(ci): add restore-keys for ci speedup #3516

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

Merged
merged 2 commits into from
Jun 3, 2021
Merged

feat(ci): add restore-keys for ci speedup #3516

merged 2 commits into from
Jun 3, 2021

Conversation

oxy
Copy link

@oxy oxy commented Jun 1, 2021

See https://github.com/actions/cache/blob/main/examples.md#node---yarn for an example. restore-keys will pull from an older set of dependencies in the cache, then update them and store them again, instead of starting from scratch.

This should bring us decent speed benefits for Dependabot PRs that update a few packages at a time.

Checklist

  • updated CHANGELOG.md

@oxy oxy requested a review from a team as a code owner June 1, 2021 17:18
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@jsjoeio jsjoeio added this to the 3.11.0 milestone Jun 1, 2021
@jsjoeio jsjoeio added the ci Issues related to ci label Jun 1, 2021
@codecov
Copy link

codecov bot commented Jun 1, 2021

Codecov Report

Merging #3516 (048ea83) into main (40ef0f2) will not change coverage.
The diff coverage is n/a.

❗ Current head 048ea83 differs from pull request most recent head 1d3a521. Consider uploading reports for the commit 1d3a521 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3516   +/-   ##
=======================================
  Coverage   59.21%   59.21%           
=======================================
  Files          35       35           
  Lines        1709     1709           
  Branches      379      379           
=======================================
  Hits         1012     1012           
  Misses        559      559           
  Partials      138      138           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40ef0f2...1d3a521. Read the comment docs.

@oxy oxy enabled auto-merge (squash) June 1, 2021 17:23
@oxy oxy marked this pull request as draft June 2, 2021 09:34
auto-merge was automatically disabled June 2, 2021 09:34

Pull request was converted to draft

@oxy oxy force-pushed the oxy/yarn-cache branch from 741db24 to 1d3a521 Compare June 2, 2021 15:35
@oxy oxy marked this pull request as ready for review June 2, 2021 15:53
@oxy oxy merged commit 05197d5 into main Jun 3, 2021
@oxy oxy deleted the oxy/yarn-cache branch June 3, 2021 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Issues related to ci
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants