Skip to content

Benchmark

Benchmark #39

Workflow file for this run

name: Benchmark
on:
workflow_dispatch: {}
schedule:
- cron: '0 0 * * 0'
defaults:
run:
shell: bash -euxo pipefail {0}
jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
package_json_file: package.json
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: .node-version
cache: pnpm
cache-dependency-path: benchmarks/pnpm-lock.yaml
- working-directory: ./benchmarks
run: pnpm install
- working-directory: ./benchmarks
env:
PLOTLY_USERNAME: ${{ secrets.PLOTLY_USERNAME }}
PLOTLY_APIKEY: ${{ secrets.PLOTLY_APIKEY }}
run: pnpm run benchmark