ci: retry frontend build once on silent failure #15

Merged
cesnimda merged 1 commits from ci/retry-frontend-build into main 2026-07-11 19:40:24 +02:00
+6 -1
View File
@@ -70,7 +70,12 @@ jobs:
CI: 'false' CI: 'false'
GENERATE_SOURCEMAP: 'false' GENERATE_SOURCEMAP: 'false'
NODE_OPTIONS: --max-old-space-size=4096 NODE_OPTIONS: --max-old-space-size=4096
run: npm run build # CRA's build (Terser minify + fork-ts-checker workers) has repeatedly died silently on
# this runner with no error output (OOM/SIGSEGV signature — same resource-starved-runner
# class as the npm ci and dotnet-install flakes elsewhere in this workflow). Retry once.
run: |
npm run build \
|| ( echo "Frontend build failed ($?) — retrying once..." && npm run build )
deploy: deploy:
needs: test needs: test