Basic pipeline structure
Goal: Build, test, and deploy with clear stages and artifacts.
- Define stages: build, test, deploy.
- Cache dependencies and store build artifacts.
- Run deploy only on main branch (or tags).
- Use protected variables for secrets.
- Use environment deployments with manual approvals for prod.