Repository navigation
Build durable extraction backend with recovery, OAuth and MCP #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Backend CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| services: | |
| postgres: | |
| image: postgres:16 | |
| env: | |
| POSTGRES_USER: lippy | |
| POSTGRES_PASSWORD: lippy | |
| POSTGRES_DB: lippy_test | |
| ports: ["5432:5432"] | |
| options: >- | |
| --health-cmd "pg_isready -U lippy" | |
| --health-interval 5s --health-timeout 5s --health-retries 10 | |
| env: | |
| DATABASE_URL: postgresql://lippy:lippy@localhost:5432/lippy_test | |
| AUTH_MODE: google | |
| EXTRACTION_PROVIDER: fixture | |
| NEXT_TELEMETRY_DISABLED: "1" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run db:generate | |
| - run: npm run db:deploy | |
| - run: npm run lint | |
| - run: npm run typecheck | |
| - run: npm test | |
| env: | |
| RUN_DB_TESTS: "1" | |
| - run: npm run build |