ci: retry bun install across remaining workflows (#565)

Mirror the retry loop already used in desktop-build.yml for every remaining one-shot 'bun install --frozen-lockfile' step so transient registry or network failures (e.g. a failed mermaid tarball download) no longer fail the whole run. deploy-tools.yml gains shell: bash because its matrix includes windows-latest; sync-edgeever-upstream.yml uses break on success so the following verification commands still run.
This commit is contained in:
Dariusz Koryto authored and GitHub committed 2026-10-14 23:59:50 +08:00
1 parent b3f4dfda2b
commit 6f50d1a80a
9 files changed
+90 -9

No files matched your search

+10 -1
View File
@@ -48,7 +48,16 @@ jobs:
uses: oven-sh/setup-bun@v2
- 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: Resolve Release metadata
env:
+10 -1
View File
@@ -71,7 +71,16 @@ jobs:
uses: oven-sh/setup-bun@v2
- 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: Deploy personal Worker
env:
+10 -1
View File
@@ -37,7 +37,16 @@ jobs:
uses: oven-sh/setup-bun@v2
- 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: Build site
run: bun run build:site
+11 -1
View File
@@ -56,7 +56,17 @@ jobs:
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
shell: bash
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: Launch project-local Wrangler
run: bun scripts/run-wrangler.mjs --version
+10 -1
View File
@@ -255,7 +255,16 @@ jobs:
echo "CSC_IDENTITY_AUTO_DISCOVERY=true" >> "$GITHUB_ENV"
- 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: Build Web renderer
env:
+10 -1
View File
@@ -54,7 +54,16 @@ jobs:
bun-version-file: package.json
- 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: Test extension manifests
run: bun run test:extension
+10 -1
View File
@@ -62,7 +62,16 @@ jobs:
bun-version-file: package.json
- 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: Write release notes
env:
+10 -1
View File
@@ -22,7 +22,16 @@ jobs:
uses: oven-sh/setup-bun@v2
- 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: Inspect generated APK types
env:
+9 -1
View File
@@ -243,7 +243,15 @@ jobs:
if: steps.upstream.outputs.align_mode == 'merge'
run: |
set -euo pipefail
bun install --frozen-lockfile
for attempt in 1 2 3; do
if bun install --frozen-lockfile; then
break
fi
if [[ "$attempt" = "3" ]]; then
exit 1
fi
sleep "$((15 * attempt))"
done
bun run db:migrate:local
bun run test
bun run typecheck