name: CI on: push: branches: [main] paths-ignore: - "**/*.md" - "docs/**" pull_request: paths-ignore: - "**/*.md" - "docs/**" jobs: checks: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Enable pnpm run: | corepack enable corepack prepare pnpm@10.33.3 --activate - name: Install dependencies run: pnpm install --frozen-lockfile - name: Typecheck run: pnpm typecheck - name: Lint run: pnpm lint - name: Format check run: pnpm format:check build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Enable pnpm run: | corepack enable corepack prepare pnpm@10.33.3 --activate - name: Install dependencies run: pnpm install --frozen-lockfile - name: Build run: pnpm build env: DATABASE_URL: postgres://ci_user:ci_password@localhost:5432/ci_database AUTH_SECRET: ci-auth-secret-for-build NEXT_PUBLIC_APP_URL: http://localhost:3000