Skip to content
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] Add turborepo for faster builds #7193

Merged
merged 9 commits into from
Dec 16, 2021
Merged

[ci] Add turborepo for faster builds #7193

merged 9 commits into from
Dec 16, 2021

Conversation

styfle
Copy link
Member

@styfle styfle commented Dec 15, 2021

yarn build (first time, no cache)

  • Before: 2m10s
  • Turbo: 1m23s

yarn build (second time, with cache)

  • Before: 25.64s
  • Turbo: 0.59s

This is largely due to concurrency (previously we ran each build sequentially)

We can improve build times even more once we implement remote caching.

Caveats

I had to add an explicit dependency on @vercel/build-utils even though the builders/runtimes don't actually need it but this made the turborepo config much simpler. A side-effect of this will be each time build-utils changes, we'll need to publish go/node/python/ruby, but thats fine because we would have already needed to publish the CLI too.

Docs:

@codecov
Copy link

codecov bot commented Dec 15, 2021

Codecov Report

Merging #7193 (8457962) into main (7039771) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #7193   +/-   ##
=======================================
  Coverage   49.17%   49.17%           
=======================================
  Files         135      135           
  Lines        5426     5426           
  Branches     1358     1358           
=======================================
  Hits         2668     2668           
  Misses       2745     2745           
  Partials       13       13           

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 7039771...8457962. Read the comment docs.

This reverts commit 469868c.
@styfle styfle merged commit cecdd15 into main Dec 16, 2021
@styfle styfle deleted the add-turborepo-cli branch December 16, 2021 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tests semver: patch PR contains bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants