diff --git a/.github/workflows/mobile-build.yml b/.github/workflows/mobile-build.yml index e3579a7d..86b89c54 100644 --- a/.github/workflows/mobile-build.yml +++ b/.github/workflows/mobile-build.yml @@ -68,7 +68,16 @@ jobs: uses: oven-sh/setup-bun@v2 - name: Install release validation dependencies - run: bun install --frozen-lockfile + run: | + for attempt in 1 2 3; do + if bun install --frozen-lockfile; then + exit 0 + fi + if [[ "$attempt" = "3" ]]; then + exit 1 + fi + sleep "$((15 * attempt))" + done - name: Run full project regression tests run: bun run test @@ -236,7 +245,16 @@ jobs: clean: true - name: Install dependencies - run: bun install --frozen-lockfile + run: | + for attempt in 1 2 3; do + if bun install --frozen-lockfile; then + exit 0 + fi + if [[ "$attempt" = "3" ]]; then + exit 1 + fi + sleep "$((15 * attempt))" + done - name: Check Expo dependencies run: |