diff --git a/.github/workflows/typescript_test.yml b/.github/workflows/typescript_test.yml index 901662c73..40ceb5119 100644 --- a/.github/workflows/typescript_test.yml +++ b/.github/workflows/typescript_test.yml @@ -132,10 +132,13 @@ jobs: echo "${{ secrets.ENV_VARS }}" > .env - name: Run Playwright Tests - run: | - cd src/frontend - npx playwright test --trace on --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --workers 2 - timeout-minutes: 12 + uses: nick-fields/retry@v3 + with: + timeout_minutes: 12 + max_attempts: 2 + command: | + cd src/frontend + npx playwright test --trace on --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --workers 2 - name: Upload blob report to GitHub Actions Artifacts if: always()