Can CI and CD workflows share remote cache in Turborepo? #10255
Unanswered
Parkhanyoung
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hi everyone,
I'm using Turborepo in a monorepo and exploring whether it's possible to reuse the build cache generated in CI during the CD (deployment) stage.
In my setup,
main
branch.main
.Since both workflows build from the same commit and same environment, I expected the remote cache uploaded in CI to be reused in CD.
I've tested this, and it seems to work for some packages — for example, a UI package built with plain TypeScript correctly hits the remote cache in CD.
However, Next.js packages consistently miss the cache, even though nothing changes between the two builds.
❓ Question
Has anyone successfully reused CI-generated remote cache in CD with Turborepo?
Would love to hear about setups where this works reliably — especially with Next.js apps.
Thanks!
Example
CI
CD
Additional information
🔗 Repository (for context):
https://github.com/Parkhanyoung/maeil-mail-fe
Beta Was this translation helpful? Give feedback.
All reactions