Skip to content

feat(site-builder): dry-run #407

feat(site-builder): dry-run

feat(site-builder): dry-run #407

Workflow file for this run

name: codspeed-benchmarks
on:
# Run on pushes to the main branch
push:
branches:
- "main"
# Run on pull requests
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
working-directory: common
version: 8
run_install: true
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
# token: ${{ secrets.CODSPEED_TOKEN }}
run: cd portal/common && pnpm run bench