Merge pull request #191 from LeXwDeX/docs/batch-b-tickets #349
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
| # ============================================================================ | |
| # 🔍 CI · Typecheck | |
| # ---------------------------------------------------------------------------- | |
| # Purpose : TypeScript type checking across all packages (bun typecheck) | |
| # plus oxlint warning ratchet (bun run lint, --max-warnings gate) | |
| # Trigger : Push to `main`/`dev`, PRs targeting `main`/`dev`, manual dispatch | |
| # Jobs : typecheck — single Linux runner, `bun run lint` + `bun typecheck` | |
| # Gate : Required status check on BOTH `dev` and `main` rulesets — it is | |
| # the fast gate for feat/fix → dev PRs (full test suite only gates | |
| # dev → main, see ci-test.yml). Lint lives inside this job so it | |
| # blocks merges without editing the rulesets' required checks. | |
| # Notes : No push trigger on feat/* or fix/* (frequent changes); PRs cover | |
| # them. | |
| # ============================================================================ | |
| name: 🔍 CI · Typecheck | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| workflow_dispatch: | |
| jobs: | |
| typecheck: | |
| name: Typecheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| - name: Setup Bun | |
| uses: ./.github/actions/setup-bun | |
| - name: Run lint | |
| run: bun run lint | |
| - name: Run typecheck | |
| run: bun typecheck |