From 72d54c2086df4eeed9b1cad2b523fb58a94a0141 Mon Sep 17 00:00:00 2001 From: Loyyd Date: Wed, 8 Jul 2026 11:47:08 +0200 Subject: [PATCH] Bound FamilyFed workflow build steps --- .forgejo/workflows/deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index e0504d27..3029c836 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -52,9 +52,16 @@ jobs: done cd source - npm ci --no-audit --no-fund + npm config set fetch-retries 4 + npm config set fetch-retry-mintimeout 10000 + npm config set fetch-retry-maxtimeout 60000 + npm config set fetch-timeout 300000 + + echo "Installing npm dependencies..." + timeout 600 npm ci --no-audit --no-fund rm -rf dist - npm run build + echo "Building Astro site..." + timeout 600 npm run build test -f dist/index.html test -f dist/admin/index.html