chore: v3.1.28
[poolifier.git] / .github / workflows / internal-benchmark.yml
index e4890fd46a4db9a359e6cc8dacc2276fe1723221..7a8c030a63ab9e3485c3af93feebc8b5e8e7aaa3 100644 (file)
@@ -21,24 +21,25 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v4
       - name: Setup pnpm
-        uses: pnpm/action-setup@v2
+        uses: pnpm/action-setup@v3
         with:
           version: 8
       - name: Setup Node.js
         uses: actions/setup-node@v4
         with:
           node-version: '20.x'
+          check-latest: true
           cache: 'pnpm'
       - name: Install dependencies
         run: pnpm install --ignore-scripts --frozen-lockfile
       - uses: bencherdev/bencher@main
-      - name: Run production benchmark
-        run: |
-          bencher run \
-          --if-branch "$GITHUB_REF_NAME" \
-          --else-if-branch "$GITHUB_BASE_REF" \
-          --else-if-branch master \
-          --hash "$GITHUB_SHA" \
-          --err \
-          --github-actions ${{ secrets.GITHUB_TOKEN }} \
-          "pnpm benchmark:prod"
+      - name: Run production benchmark
+        run: |
+          bencher run \
+          --if-branch "$GITHUB_REF_NAME" \
+          --else-if-branch "$GITHUB_BASE_REF" \
+          --else-if-branch master \
+          --hash "$GITHUB_SHA" \
+          --err \
+          --github-actions ${{ secrets.GITHUB_TOKEN }} \
+      #     "pnpm benchmark:benchmark.js:prod"