chore(deps): update dependency type-coverage to ^2.30.1 #798
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: | |
| branches: [main] | |
| jobs: | |
| lint-and-build: | |
| runs-on: arc-tsarr | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.14 | |
| no-cache: true | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Generate API clients and types | |
| run: bun run generate && bun run generate:types | |
| - name: Check for generator drift | |
| run: | | |
| if ! git diff --exit-code --quiet -- src/generated; then | |
| echo "::error::Generated files are out of date. Run 'bun run generate && bun run generate:types' locally and commit the result." | |
| git --no-pager diff --stat -- src/generated | |
| exit 1 | |
| fi | |
| - name: Run TypeScript check | |
| run: bun run typecheck | |
| - name: Check type coverage | |
| run: bun run typecheck:coverage | |
| - name: Run linter | |
| run: bun run lint | |
| - name: Run tests | |
| run: bun test | |
| - name: Build project | |
| run: bun run build:js && bun run build:types | |
| nix-flake: | |
| runs-on: arc-tsarr | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| - name: Build Nix flake | |
| run: | | |
| docker run --rm \ | |
| -v "$PWD/packaging/nix:/work" \ | |
| -w /work \ | |
| nixos/nix:2.24.14 \ | |
| sh -lc 'nix build .#default --extra-experimental-features "nix-command flakes"' |