DevOps · interactive
Build caching in CI
A monorepo has five packages. Rebuilding and testing all of them on every commit is slow. A build tool that knows the dependency graph only rebuilds what a change can affect, and restores everything else from a cache.
- utilsno internal depsskipped
- uidepends on utilsbuild 60s
- apidepends on utilsskipped
- webdepends on ui, utilsbuild 120s
- docsno internal depsskipped
CI time: 3m 0s (everything: 5m 30s)
Changing ui affects ui, web, because they import it. The rest are skipped.
You changed
CI runs
Step 2 of 4 · read left to right
In production
Tools and technologies
Monorepo tools skip work that a change can't affect.
Not tied to one language — use these names when you search docs or design a system.