Skip to content

Benchmark

Benchmark #37

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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.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