1 name: Internal benchmark
11 if: github.repository == 'poolifier/poolifier'
14 labels: [self-hosted, internal-benchmark]
16 BENCHER_PROJECT: poolifier
17 BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
18 BENCHER_ADAPTER: js_benchmark
19 BENCHER_TESTBED: self-hosted
22 uses: actions/checkout@v4
24 uses: pnpm/action-setup@v3
28 uses: actions/setup-node@v4
33 - name: Install dependencies
34 run: pnpm install --ignore-scripts --frozen-lockfile
35 - uses: bencherdev/bencher@main
36 - name: Run production benchmark
39 --if-branch "$GITHUB_REF_NAME" \
40 --else-if-branch "$GITHUB_BASE_REF" \
41 --else-if-branch master \
42 --hash "$GITHUB_SHA" \
44 --github-actions ${{ secrets.GITHUB_TOKEN }} \