Skip to content

Feat/b2b employee management #1472

Feat/b2b employee management

Feat/b2b employee management #1472

Workflow file for this run

name: codspeed-benchmarks
on:
push:
branches:
- "main" # or "master"
paths:
- packages/api-**/*.ts
pull_request:
paths:
- packages/api-**/*.ts
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-node@v4"
with:
node-version: 20
- run: corepack enable
- run: pnpm --version
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: install
run: pnpm install --frozen-lockfile --prefer-offline
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
run: pnpm run test:bench