Last Updated: November 21, 2025
Pipeline Anatomy
| Component | Use |
|---|---|
stages
|
Ordering |
jobs
|
Scripts + artifacts |
rules
|
Triggers |
cache
|
Speed up installs |
Commands
script: npm test
Run tests
artifacts: paths
Persist builds
needs: [build]
Chain jobs
cache: paths
Reuse dependencies
Tips
Watch runner usage, disable idle jobs, and use badges.
💡 Pro Tip:
Include reusable templates and limit pipeline scope.