name: CI on: push: branches: [ main, master ] pull_request: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '22' cache: 'npm' - name: Install deps run: npm ci - name: Prisma generate run: npx prisma generate env: DATABASE_URL: postgresql://ci:ci@localhost:5432/ci - name: Typecheck run: npm run typecheck - name: Build run: npm run build