diff --git a/.gitea/workflows/ci-deploy.yml b/.gitea/workflows/ci-deploy.yml index d0184ad..94508ae 100644 --- a/.gitea/workflows/ci-deploy.yml +++ b/.gitea/workflows/ci-deploy.yml @@ -70,7 +70,12 @@ jobs: CI: 'false' GENERATE_SOURCEMAP: 'false' 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: needs: test