Basic CI: Lint → Test → Build
Automate quality gates with a tiny CI: run lint, run tests, then build. Fail fast, keep logs readable, and cache dependencies.
Why CI?
Goal: Automate checks on every push.
- Lint: fast static checks
- Test: behavior safety
- Build: optimized output
Steps at a glance
- Trigger: push/PR
- Install deps (cache)
- Run lint → run tests → build
- Artifacts: build folder, test report
All lessons in this course
- Dev/Prod Builds, Source Maps, Envs
- Bundle Analysis & Trimming Unused Code
- Basic CI: Lint → Test → Build