Speed up your CI & Save the Environment
summary
Shows concrete changes in the ViteJS GitHub monorepo: add an PNPM workspace, enable NX caching and task graph, and run nx affected build so CI only rebuilds dependent packages. Demonstrates distributed caching with NX Cloud and dynamic task distribution across agents, turning 30 second rebuilds into milliseconds locally and cutting CI runs to an 8 second affected build example. Claims NX Cloud saved 6 years of compute in 7 days, 24 years in 30 days, 214 years total.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:29React
- 2:20Speed
- 2:57How
- 3:16Tools
- 9:46Build Chains
- 11:31Commit Changes
- 12:21NX affected commands
- 13:53Just run affected build
- 14:46Local Cache
- 16:10Tasks
- 16:38Task Scheduling
- 18:23Environment
- 19:15Outro








