Skip to content

Add vitest benchmark #2

Add vitest benchmark

Add vitest benchmark #2

Workflow file for this run

name: Performance Benchmarks
on:
push:
branches: [master]
pull_request:
merge_group:
workflow_dispatch:
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: "package.json"
- name: Install dependencies
run: npm ci
- name: Build Libs
run: npm run build-libs
- name: Run Benchmarks
uses: CodSpeedHQ/action@v2
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: npm run bench
env:
CI: true

Check failure on line 34 in .github/workflows/bench.yml

View workflow run for this annotation

GitHub Actions / Performance Benchmarks

Invalid workflow file

The workflow is not valid. .github/workflows/bench.yml (Line: 34, Col: 13): A mapping was not expected