Skip to content

release: 0.25.1 — hard per-fetch deadline (#87 wedge fix) #222

release: 0.25.1 — hard per-fetch deadline (#87 wedge fix)

release: 0.25.1 — hard per-fetch deadline (#87 wedge fix) #222

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
env:
# Skip the 100MB Chromium download — tests use a mock BrowserLike
# via AgentConfig.browserFactory, and the `--help` smoke doesn't
# launch a browser. Doctor's browser check would fail without it,
# but that's not exercised in CI.
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
- run: npm run typecheck
- run: npm run build
- run: npm test
- run: node dist/cli.js --help