Skip to content

Benchmark

Benchmark #66

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- 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@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
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