This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user