adw: clens-002-cli-lint-warnings build (run clens-002-cli-lint-warnin… #23
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
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| # TEST-10: pin the timezone so time-relative analytics window tests are deterministic | |
| # across runners. ubuntu-latest already defaults to UTC; this makes it explicit. | |
| env: | |
| TZ: UTC | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: "1.2.4" | |
| - run: bun install | |
| - name: Typecheck | |
| run: bun run typecheck | |
| # TEST-5: run BOTH package suites explicitly so the web suite can never be | |
| # silently dropped (root `bun test` recursion is incidental). Per D5-RESOLVED | |
| # there is no vitest harness — the web tests are bun:test and run here. | |
| - name: Test CLI | |
| run: bun run test:cli | |
| - name: Test web | |
| run: bun run test:web | |
| - name: Lint | |
| run: bun run lint | |
| - name: Build | |
| run: bun run build | |
| - name: Verify pack contents (web bundle + types) | |
| run: node scripts/verify-pack.mjs packages/cli |