ci: retry transient yarn install failures

Co-authored-by: a110605 <5744158+a110605@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-09-04 15:24:15 +00:00
committed by GitHub
co-authored by a110605
parent 8e93404849
commit 1f37a23845
+12 -1
View File
@@ -12,4 +12,15 @@ runs:
- name: Install packages
shell: bash
run: yarn install
run: |
for attempt in 1 2 3; do
if yarn install --frozen-lockfile; then
exit 0
fi
if [ "$attempt" -lt 3 ]; then
sleep 10
fi
done
exit 1