Skip to content

Commit bf402c8

Browse files
authored
ci: add sleep between yarn install retries (#6046)
1 parent 1e08b2a commit bf402c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/install/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ runs:
1818
shell: bash
1919
if: inputs.cache == 'true' && steps.yarn-cache.outputs.cache-hit == 'true'
2020
# Retry in case of server error from registry.
21-
- run: yarn install --frozen-lockfile --ignore-engines || yarn install --frozen-lockfile --ignore-engines
21+
# Wait 60 seconds to give the registry server time to heal.
22+
- run: yarn install --frozen-lockfile --ignore-engines || sleep 60 && yarn install --frozen-lockfile --ignore-engines
2223
shell: bash
2324
- run: tar -cf node_modules.tar node_modules
2425
shell: bash

0 commit comments

Comments
 (0)