From 4f049bb20a33319e5ce5f3c5ece6894131b16266 Mon Sep 17 00:00:00 2001 From: h1418 Date: Mon, 23 Dec 2024 19:13:32 +0700 Subject: [PATCH] Update e2e-performance.yml --- .github/workflows/e2e-performance.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-performance.yml b/.github/workflows/e2e-performance.yml index c1fa3650070..a080dca80ca 100644 --- a/.github/workflows/e2e-performance.yml +++ b/.github/workflows/e2e-performance.yml @@ -45,6 +45,9 @@ jobs: - name: Install dependencies ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป run: npm ci + + - name: Upload report to S3 + run: aws s3 cp ${{ env.RESULTS_PATH }} s3://${{ secrets.AWS_BUCKET_PERFORMANCE_TESTS }}/${{ github.head_ref }}-${{ github.sha }}-${{ env.NOW }}.json - name: E2E Performance Tests for Electron ๐Ÿงช run: ELECTRON_DISABLE_SANDBOX=1 xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- cd e2e && npm run test:performance @@ -65,8 +68,7 @@ jobs: aws-region: ${{ secrets.AWS_REGION_PERFORMANCE_TESTS_PUT_BUCKET }} mask-aws-account-id: true - - name: Upload report to S3 - run: aws s3 cp ${{ env.RESULTS_PATH }} s3://${{ secrets.AWS_BUCKET_PERFORMANCE_TESTS }}/${{ github.head_ref }}-${{ github.sha }}-${{ env.NOW }}.json + - name: Add results in PR comment uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1