mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
Wrap yarn install with retry for Testdriver and Build Helper (#1494)
Yarn Install (specifically the `sharp` builds) are flaky on Windows. I'm adding a retry around this step to prevent unnecessary failures
This commit is contained in:
parent
58fbbd78f6
commit
7df441a389
11
.github/workflows/build-helper.yml
vendored
11
.github/workflows/build-helper.yml
vendored
@ -63,9 +63,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{env.NODE_VERSION}}
|
node-version: ${{env.NODE_VERSION}}
|
||||||
- name: Install Yarn
|
- name: Install Yarn
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
corepack enable
|
with:
|
||||||
yarn install
|
command: |
|
||||||
|
corepack enable
|
||||||
|
yarn install
|
||||||
|
timeout_minutes: 5
|
||||||
|
retry_on: error
|
||||||
|
max_attempts: 3
|
||||||
- name: Install Task
|
- name: Install Task
|
||||||
uses: arduino/setup-task@v2
|
uses: arduino/setup-task@v2
|
||||||
with:
|
with:
|
||||||
|
11
.github/workflows/testdriver.yml
vendored
11
.github/workflows/testdriver.yml
vendored
@ -47,9 +47,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{env.NODE_VERSION}}
|
node-version: ${{env.NODE_VERSION}}
|
||||||
- name: Install Yarn
|
- name: Install Yarn
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
corepack enable
|
with:
|
||||||
yarn install
|
command: |
|
||||||
|
corepack enable
|
||||||
|
yarn install
|
||||||
|
timeout_minutes: 5
|
||||||
|
retry_on: error
|
||||||
|
max_attempts: 3
|
||||||
- name: Install Task
|
- name: Install Task
|
||||||
uses: arduino/setup-task@v2
|
uses: arduino/setup-task@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user