Add API benchmark suite #22
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: | |
| smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run API benchmark smoke | |
| run: npm run benchmark:smoke |