diff --git a/.github/workflows/pr-win32-test.yml b/.github/workflows/pr-win32-test.yml index 2c7a0b48c0e..eb027c9113c 100644 --- a/.github/workflows/pr-win32-test.yml +++ b/.github/workflows/pr-win32-test.yml @@ -115,9 +115,12 @@ jobs: - name: Download Electron and Playwright shell: pwsh run: | + . build/azure-pipelines/win32/exec.ps1 + $ErrorActionPreference = "Stop" + for ($i = 1; $i -le 3; $i++) { try { - npm exec -- npm-run-all2 -lp "electron ${{ env.VSCODE_ARCH }}" "playwright-install" + exec { npm exec -- npm-run-all2 -lp "electron ${{ env.VSCODE_ARCH }}" "playwright-install" } break } catch {