fix(rules): finish the v3 sweep and record the guards that misfired #1114
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 matrix (cross-OS determinism) | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| # Runs the full lint + typecheck + test suite on three operating | |
| # systems. The determinism guard (`tests/integration/determinism- | |
| # guard.test.ts`) + golden-output test together enforce that every | |
| # fixture produces the same `result_hash` on Ubuntu, macOS, and | |
| # Windows. Spec §27 row (c): cross-machine determinism. | |
| name: ${{ matrix.os }} / Node ${{ matrix.node }} | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| node: ["22"] | |
| env: | |
| VAULYTICA_SKIP_BUILD_TESTS: "1" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node ${{ matrix.node }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: "npm" | |
| - name: Install | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint | |
| - name: Typecheck | |
| run: npm run typecheck | |
| - name: Unit + integration tests (with SRI build skipped) | |
| run: npm test |