freak #2
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: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| typecheck: | |
| name: TypeScript Check | |
| runs-on: ubuntu-latest | |
| env: | |
| DATABASE_URL: "postgresql://user:pass@localhost:5432/db" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Generate Prisma client | |
| run: bunx prisma generate | |
| - name: Run type check | |
| run: bun run typecheck |