Add per-site coverage statistics (area, range, % covered) #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: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - uses: pnpm/action-setup@v6 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Rebuild WASM engine (reproducibility guard) | |
| run: pnpm build:engine | |
| - name: Verify committed engine artifacts match the source | |
| run: git diff --exit-code src/engine/generated | |
| - name: Cache terrain test tile | |
| uses: actions/cache@v5 | |
| with: | |
| path: test/.cache | |
| key: srtm-test-tiles-v1 | |
| - name: Type check | |
| run: pnpm exec vue-tsc -b | |
| - name: Tests (golden, terrain, engine invariants) | |
| run: pnpm test | |
| - name: Build site | |
| run: pnpm build | |
| - name: Upload site artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: site-dist | |
| path: dist | |
| retention-days: 7 |