Skip to content

Load benchmark review previews eagerly #53

Load benchmark review previews eagerly

Load benchmark review previews eagerly #53

Workflow file for this run

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