Continuous integration of a dbt project automatically runs, on every code change, the build and tests of the relevant models in an isolated schema. By rebuilding only the modified models and their dependents (reference state, state:modified+), it blocks errors before production.
Example
dbt build --select state:modified+ --defer --state prod-artifacts