This commit is contained in:
parent
be0e3eb060
commit
72d54c2086
1 changed files with 9 additions and 2 deletions
|
|
@ -52,9 +52,16 @@ jobs:
|
||||||
done
|
done
|
||||||
|
|
||||||
cd source
|
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
|
rm -rf dist
|
||||||
npm run build
|
echo "Building Astro site..."
|
||||||
|
timeout 600 npm run build
|
||||||
|
|
||||||
test -f dist/index.html
|
test -f dist/index.html
|
||||||
test -f dist/admin/index.html
|
test -f dist/admin/index.html
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue