15 if: github.repository == 'poolifier/poolifier'
16 name: Internal benchmark
17 runs-on: [self-hosted, internal-benchmark]
20 uses: actions/checkout@v4
22 uses: pnpm/action-setup@v2
26 uses: actions/setup-node@v3
30 - name: Install dependencies
31 run: pnpm install --ignore-scripts
32 - name: Run production benchmark
33 run: pnpm benchmark:prod | tee ./benchmarks/internal/output.txt
34 - name: Store production benchmark result
35 uses: benchmark-action/github-action-benchmark@v1
37 name: Internal benchmark
39 output-file-path: ./benchmarks/internal/output.txt
40 github-token: ${{ secrets.BENCHMARK_RESULTS_TOKEN }}
42 alert-threshold: '200%'
43 comment-on-alert: true
45 gh-repository: 'github.com/poolifier/benchmark-results'