Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Failing after 15s
Test / e2e-test (push) Has been skipped
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 4s
PR Preview / deploy-preview (pull_request) Successful in 9s
- test.yml: unit + e2e + build on 'test' runner (hera) - Vitest results + Cypress videos/screenshots as artifacts - Auto starts/stops backend + frontend for E2E - preview.yml: test on hera → deploy on oci (sequential) - deploy.yml: test on hera → deploy-prod on oci Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
471 B
YAML
23 lines
471 B
YAML
name: Deploy Production
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: test
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Unit tests
|
|
run: cd frontend && npm ci && npx vitest run
|
|
- name: Build check
|
|
run: cd frontend && npm run build
|
|
|
|
deploy:
|
|
needs: test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Deploy Production
|
|
run: python3 scripts/deploy-preview.py deploy-prod
|