chore: switch to pnpm 9.x.x
[poolifier.git] / .github / workflows / internal-benchmark.yml
index 5170ae98cbf9574dd236c1dcd1eaf2990460266d..1e3115f4c86a46c427e444d68aa13b07fbc240dd 100644 (file)
@@ -21,23 +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
+          version: 9
       - name: Setup Node.js
         uses: actions/setup-node@v4
         with:
-          node-version: '20.x'
+          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 \
-          --err \
-          --github-actions ${{ secrets.GITHUB_TOKEN }} \
-          "pnpm benchmark:prod"
+      # - 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:benchmark.js:prod"