Run the CI pipeline locally (brakeman, rubocop, importmap audit, tests). Use when asked to run CI, check code quality, or verify code before pushing.
Run the CI pipeline locally before pushing.
Run these commands in sequence, stopping on first failure:
Brakeman (security scan)
bundle exec brakeman --quiet --no-pager --ensure-latest
Rubocop (style check)
bundle exec rubocop
Importmap Audit (JS dependency check)
bin/importmap audit
Unit Tests
bin/rails test
System Tests
bin/rails test:system