v0.5.0 #57
Workflow file for this run
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: | |
| pull_request: | |
| branches: [main] | |
| env: | |
| TZ: UTC | |
| BUN_VERSION: "1.3.10" | |
| jobs: | |
| quality: | |
| name: Lint, Typecheck & Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: ${{ env.BUN_VERSION }} | |
| - uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.bun/install/cache | |
| node_modules | |
| packages/*/node_modules | |
| apps/*/node_modules | |
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} | |
| restore-keys: ${{ runner.os }}-bun- | |
| - run: bun install --frozen-lockfile | |
| - name: Lint | |
| run: bun run lint | |
| - name: Format check | |
| run: bun run format:check | |
| - name: Typecheck | |
| run: bun run typecheck | |
| - name: Type-level API tests | |
| run: bun run test:types | |
| - name: Unit tests with coverage | |
| run: bun run test:coverage | |
| - name: Benchmark regression checks | |
| run: bun run benchmark | |
| - name: C++ tests | |
| run: bun run test:cpp |