ci: cover worker and deployment gates
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 02:23:22 -04:00
parent e069dcaa40
commit 1e270f6184
2 changed files with 14 additions and 0 deletions
+12
View File
@@ -47,6 +47,18 @@ jobs:
DATABASE_URL=postgresql://pokemon_inventory:ci-password@localhost:5433/pokemon_inventory_test npm run db:migrate
- run: npx playwright install --with-deps chromium
- run: npm test
- name: Run worker tests
run: npm run test --workspace=@pokemon-inventory/worker
- name: Audit production dependencies
run: npm audit --omit=dev
- name: Validate deployment scripts
run: |
sh -n scripts/*.sh
sh scripts/deployment-health-wait.test.sh
sh scripts/verify-postgres-backup.test.sh
sh scripts/restore-postgres.test.sh
sh scripts/restore-image-storage.test.sh
sh scripts/smoke-production.test.sh
- name: Run integration tests
env:
TEST_DATABASE_URL: postgresql://pokemon_inventory:ci-password@localhost:5433/pokemon_inventory_test