chore: trigger codspeed again #58
This file contains 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: CodSpeed Benchmarks | |
on: | |
push: | |
branches: | |
- 'main' # or "master" | |
pull_request: | |
# `workflow_dispatch` allows CodSpeed to trigger backtest | |
# performance analysis in order to generate initial data. | |
workflow_dispatch: | |
jobs: | |
benchmarks: | |
name: Run benchmarks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: 'actions/checkout@v4' | |
- uses: 'actions/setup-node@v3' | |
- name: Install dependencies | |
run: npm install | |
- name: Run benchmarks | |
uses: CodSpeedHQ/action@v3 | |
env: | |
CODSPEED_FORCE_OPTIMIZATION: true | |
with: | |
run: npm exec vitest bench | |
token: ${{ secrets.CODSPEED_TOKEN }} |