Module 03 · Lesson 05
Test before you push
Local checks are free; cloud minutes are not.
Keep it safe5 min
- 1
Branch. Never work on main. One branch per task: feat/…, fix/…
- 2
Check locally. Typecheck, lint, tests and build on your machine. Push only if they pass.
- 3
CI only where it matters. Run GitHub Actions on pull requests into main. Keep deploys and app builds for merges to main.
- 4
Preview by hand. Expensive preview builds (EAS, staging deploys) run only when you trigger them.