name: CI on: push: branches: [main] pull_request: jobs: verify: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: version: 10.33.3 - uses: actions/setup-node@v4 with: node-version: 22 cache: pnpm - run: pnpm install --frozen-lockfile - run: pnpm typecheck - run: pnpm lint - run: pnpm format:check - run: pnpm build env: # Build only — no DB connection. Provide a placeholder so any # module-level reads of DATABASE_URL don't crash the build. DATABASE_URL: postgres://placeholder:placeholder@localhost:5432/placeholder AUTH_SECRET: ci-placeholder-secret NEXT_PUBLIC_APP_URL: http://localhost:3000