From 6922ed59697bf2e03bb2d49c4c4dbe63ddaea7e2 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Tue, 7 Jan 2025 12:40:39 +0100 Subject: [PATCH] Update the workflow --- .github/workflows/compare-js-runtimes.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compare-js-runtimes.yml b/.github/workflows/compare-js-runtimes.yml index 23e948e..b031339 100644 --- a/.github/workflows/compare-js-runtimes.yml +++ b/.github/workflows/compare-js-runtimes.yml @@ -51,7 +51,9 @@ jobs: run: ${{ inputs.setup }} - name: Run performance tests on node - run: node ${{ inputs.node-options }} ${{ inputs.command }} ${{ inputs.files }} --local ./nodejs-benchmark --persist --noThrow ${{ github.event_name == 'push' }} + run: node ${{ inputs.node-options }} ${{ inputs.command }} ${{ inputs.files }} --local ./nodejs-benchmark --persist --noThrow ${{ github.event_name == 'push' }} --skipPostComment + env: + GITHUB_TOKEN: ${{ secrets.github_token }} - name: Archive nodejs benchmark artifacts uses: actions/upload-artifact@v4 @@ -79,7 +81,9 @@ jobs: run: bun run --bun ${{ inputs.setup }} - name: Run performance tests on bun - run: bun run --bun ${{ inputs.command }} ${{ inputs.files }} --local ./bun-benchmark --persist --noThrow ${{ github.event_name == 'push' }} + run: bun run --bun ${{ inputs.command }} ${{ inputs.files }} --local ./bun-benchmark --persist --noThrow ${{ github.event_name == 'push' }} --skipPostComment + env: + GITHUB_TOKEN: ${{ secrets.github_token }} - name: Archive bun benchmark artifacts uses: actions/upload-artifact@v4 @@ -107,7 +111,9 @@ jobs: run: deno run --unstable-sloppy-imports -A ${{ inputs.setup }} - name: Run performance tests on bun - run: deno run --unstable-sloppy-imports -A ${{ inputs.command }} ${{ inputs.files }} --local ./deno-benchmark --persist --noThrow ${{ github.event_name == 'push' }} + run: deno run --unstable-sloppy-imports -A ${{ inputs.command }} ${{ inputs.files }} --local ./deno-benchmark --persist --noThrow ${{ github.event_name == 'push' }} --skipPostComment + env: + GITHUB_TOKEN: ${{ secrets.github_token }} - name: Archive deno benchmark artifacts uses: actions/upload-artifact@v4