Revert "Remove local ci for now"

This reverts commit 7d6ed4a459f78d14767f1523b32553df84e627e5.
This commit is contained in:
Jorge Manrubia
2025-11-27 14:57:42 +01:00
parent b6aa93dd79
commit cebd5d35f6
2 changed files with 28 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# Run using bin/ci
require_relative "../lib/fizzy"
CI.run do
step "Setup", "bin/setup --skip-server"
step "Style: Ruby", "bin/rubocop"
step "Security: Gem audit", "bin/bundler-audit check --update"
step "Security: Importmap audit", "bin/importmap audit"
step "Security: Brakeman audit", "bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error"
step "Tests: Open source", "bin/rails test"
step "Tests: System", "bin/rails test:system"
if success?
step "Signoff: All systems go. Ready for merge and deploy.", "gh signoff"
else
failure "Signoff: CI failed. Do not merge or deploy.", "Fix the issues and try again."
end
end