Load benchmark review previews eagerly #53
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: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # Node 18 is EOL; keep in step with engines (>=20). | |
| node: [20, 22, 24] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| # Pin npm 11: lockfile is npm-10/11 compatible; npm 12 needs newer Node | |
| # and changed `npm pack --json` shape (handled in check-private-refs, but | |
| # avoid `npm@latest` floating across majors on the matrix). | |
| - run: npm install -g npm@11 | |
| - run: npm ci | |
| - run: npm run verify |