Skip to content

Commit

Permalink
combine multiple results, run on self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkuba committed Sep 13, 2023
1 parent 47e1b2f commit 5bfe923
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ jobs:
fail-fast: false
matrix:
node_version:
# - "14"
# - "16"
- "18"
runs-on: ubuntu-latest
runs-on: self-hosted
env:
NPM_CONFIG_UNSAFE_PERM: true
steps:
Expand Down Expand Up @@ -48,12 +46,15 @@ jobs:
- name: Benchmark tests
run: |
npm run test:bench
npm run test:bench
find . -name benchmarks.txt -exec cat {} + > combined_benchmarks.txt
- name: Store benchmark results
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'benchmarkjs'
output-file-path: benchmarks.txt
output-file-path: combined_benchmarks.txt
gh-pages-branch: benchmarks
github-token: ${{ secrets.GITHUB_TOKEN }}
benchmark-data-dir-path: "docs/benchmarks/loadtests"
auto-push: true

0 comments on commit 5bfe923

Please sign in to comment.