What is CI/CD
CI (Continuous Integration) automatically checks every push, for example by running tests and lint. CD (Continuous Deployment) automatically ships the code once the checks pass. The goal: catch bugs early and deploy without manual steps.
Developer pushes code
|
v
CI: install -> lint -> test -> build
|
passes? -- no --> fix and push again
|
yes
v
CD: deploy to production