Skip to content

feat: add reproducible API benchmark suite #15

feat: add reproducible API benchmark suite

feat: add reproducible API benchmark suite #15

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