Skip to content

bench ci: initial add #1

bench ci: initial add

bench ci: initial add #1

Workflow file for this run

name: Benchmark
on:
push:
branches:
- main
jobs:
benchmark:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Run benchmark
run: |
npm install

Check failure on line 19 in .github/workflows/benchmark.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/benchmark.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
npm install benchmark
node bench_ci/bench.js | tee output.txt
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1.18.0
with:
name: porffor benches
tool: "benchmarkjs"
output-file-path: output.txt
auto-push: true
github-token: ${{ secrets.GITHUB_TOKEN }}
gh-pages-branch: main
benchmark-data-dir-path: bench