diff options
| -rw-r--r-- | .github/workflows/bun-ci.yml | 12 | ||||
| -rw-r--r-- | justfile | 8 |
2 files changed, 14 insertions, 6 deletions
diff --git a/.github/workflows/bun-ci.yml b/.github/workflows/bun-ci.yml index 386b42bc..8f702f72 100644 --- a/.github/workflows/bun-ci.yml +++ b/.github/workflows/bun-ci.yml @@ -65,17 +65,17 @@ jobs: uses: actions/cache@v4
with:
path: ~/.bun/install/cache
- key: ${{ runner.os }}-bun-1.2.18-${{ hashFiles('apps/web/bun.lock') }}
+ key: ${{ runner.os }}-bun-1.2.18-${{ hashFiles('bun.lock') }}
- name: Install dependencies
- working-directory: apps/web
run: bun install
- name: Build
+ run: bun build:web
+
+ - name: Typecheck
working-directory: apps/web
- run: bun run build
+ run: bunx tsc --noEmit
- name: Run tests
- working-directory: apps/web
- run: echo "No tests implemented yet"
- continue-on-error: true
+ run: bun test
@@ -44,6 +44,14 @@ typecheck: format: cd apps/web && bun run format +# Full local quality gate: tests, typecheck, production build. +# Full lint is NOT part of the gate yet (~112 pre-existing upstream errors); +# lint the files you touched with `just lint`. +verify: + bun test + cd apps/web && bunx tsc --noEmit + bun build:web + # Build the Rust WASM package (run ./script/setup-rust once first) wasm: bun build:wasm |
