Skip to content

feat: add reproducible API benchmark suite #33

feat: add reproducible API benchmark suite

feat: add reproducible API benchmark suite #33

name: API benchmark smoke
on:
pull_request:
paths:
- "apps/api/**"
- "benchmarks/**"
- "package.json"
- "package-lock.json"
- ".github/workflows/api-benchmark-smoke.yml"
jobs:
benchmark-smoke:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Validate benchmark manifest
run: node --test benchmarks/smoke.test.js
- name: Run benchmark smoke gate
run: npm run benchmark:smoke