Repository navigation
Publish Jev runners and redacted transcripts #50
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: test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # 20.11 is the declared floor (import.meta.dirname landed there); | |
| # 22 is what most contributors actually run. | |
| node: ['20.11', '22'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: npm ci | |
| - run: npm test | |
| - name: Verify published Jev traces | |
| run: python3 scripts/verify-jev-release.py | |
| - name: Verify portable Jev runners (no provider calls) | |
| if: matrix.node == '22' | |
| run: | | |
| npm ci --prefix experiments/jev | |
| node experiments/jev/run.mjs --interface webmcp | |
| node experiments/jev/run.mjs --interface dom | |
| # Dry run: no key, no Docker, no browser — exercises task loading, | |
| # the arm loop, scoring, and report writing on every push. | |
| - run: WT_FAKE_LIFECYCLE=1 npm run bench |