Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

ci(mobile): retry bun install in mobile build workflow (#564)

Dariusz Koryto4dfa1546d77d
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: |