feat(#231): LLM benchmark v2 — typed assertions, skill-trace, LLM-as-Judge, CI migration #12
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: Backend Regression | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - 'backend/**' | |
| - 'scripts/**' | |
| - 'tests/**' | |
| - 'sclaw' | |
| - 'sclaw_cn' | |
| - 'package.json' | |
| - '.github/workflows/backend-regression.yml' | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'backend/**' | |
| - 'scripts/**' | |
| - 'tests/**' | |
| - 'sclaw' | |
| - 'sclaw_cn' | |
| - 'package.json' | |
| - '.github/workflows/backend-regression.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| backend-regression: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: backend/package-lock.json | |
| - name: Install backend dependencies | |
| run: npm ci --prefix backend | |
| - name: Generate Prisma client | |
| run: npm run db:generate --prefix backend | |
| - name: Run Backend Regression | |
| run: node tests/runner.mjs backend-regression |