Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,15 @@ jobs:

- name: Build
run: pnpm --filter backend run build

- name: Export OpenAPI spec
working-directory: app/backend
env:
DATABASE_URL: file:./prisma/dev.db
NODE_ENV: development
run: npm run spec:export

- name: Check for OpenAPI spec drift
run: |
git diff --exit-code app/frontend/openapi.json || \
(echo "ERROR: openapi.json is out of date. Run 'npm run spec:export' in app/backend and commit app/frontend/openapi.json." && exit 1)
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,6 @@ GEMINI.md

# Local planning/spec docs (not committed)
docs/superpowers/
plan.md
.playwright-mcp/
dump.rdb
Loading
Loading