Skip to content

Performance

Performance #20

Workflow file for this run

name: Performance
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
permissions:
contents: read
env:
PNPM_VERSION: 9.12.0
jobs:
perf-guardrail:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
package_json_file: package.json
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright Chromium
run: pnpm exec playwright install --with-deps chromium
- name: Run injection latency guardrail
run: pnpm run test:perf