Add API benchmark suite #24
Workflow file for this run
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: API benchmark smoke | |
| on: | |
| pull_request: | |
| paths: | |
| - "apps/api/**" | |
| - "benchmarks/**" | |
| - "package.json" | |
| - "package-lock.json" | |
| - ".github/workflows/api-benchmark-smoke.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| api-benchmark-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Verify benchmark route coverage | |
| run: npm run benchmark:verify | |
| - name: Run smoke benchmark | |
| run: npm run benchmark:smoke |