feat: add CI workflow, lifecycle integration tests, and mark completed plan items

- Add GitHub Actions CI: test, typecheck, lint on push/PR to main
- Add fight lifecycle integration tests: full pipeline, ELO advantage,
  combo scaling, type exhaustion, answer verification (7 tests)
- Kaplay already lazy-loaded via route-level code splitting
- Total: 135 tests across 7 test files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-09 07:53:40 +00:00
co-authored by Claude Opus 4.6
parent 4074ef94eb
commit 2ceef08f55
2 changed files with 177 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Tests
run: pnpm test -- --run
- name: Type check
run: |
pnpm --filter server exec tsc --noEmit
pnpm --filter frontend exec vue-tsc --noEmit
- name: Lint
run: pnpm lint