Skip to content

chore(ci): introduce benchmarks on JS/TS projects to track skott performance over time #1

chore(ci): introduce benchmarks on JS/TS projects to track skott performance over time

chore(ci): introduce benchmarks on JS/TS projects to track skott performance over time #1

Workflow file for this run

name: skott-benchmarks
on:
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Enable pnpm
run: corepack enable
- name: Install dependencies
run: pnpm install
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
run: pnpm -r benchmark
token: ${{ secrets.CODSPEED_TOKEN }}