1 name: Internal benchmark
15 if: github.repository == 'poolifier/poolifier'
16 runs-on: [self-hosted, internal-benchmark]
19 uses: actions/checkout@v4
21 uses: pnpm/action-setup@v2
25 uses: actions/setup-node@v3
29 - name: Install dependencies
30 run: pnpm install --ignore-scripts
31 - name: Run production benchmark
32 run: pnpm benchmark:prod | tee ./benchmarks/internal/output.txt
33 - name: Store production benchmark result
34 uses: benchmark-action/github-action-benchmark@v1
36 name: Internal benchmark
38 output-file-path: ./benchmarks/internal/output.txt
39 github-token: ${{ secrets.BENCHMARK_RESULTS_TOKEN }}
41 alert-threshold: '200%'
42 comment-on-alert: true
44 max-items-in-chart: 50
45 gh-repository: 'github.com/poolifier/benchmark-results'