name: CI on: push: branches: [main] paths-ignore: - "**/*.md" - "docs/**" pull_request: paths-ignore: - "**/*.md" - "docs/**" concurrency: group: ci-${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: checks: if: "github.event_name == 'pull_request' || !startsWith(github.event.head_commit.message, 'chore: release')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Enable pnpm run: | corepack enable corepack prepare pnpm@10.33.3 --activate mkdir -p /pnpm-store pnpm config set store-dir /pnpm-store - 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