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