fix build.sh: esegue npm ci prima del build Vite
Senza node_modules installati (host fresh) vite non era nel PATH. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,6 +29,7 @@ if $FROM_HEAD; then
|
|||||||
else
|
else
|
||||||
echo "==> Build Vite dalla working directory..."
|
echo "==> Build Vite dalla working directory..."
|
||||||
cd "$PROJECT_ROOT"
|
cd "$PROJECT_ROOT"
|
||||||
|
npm ci --silent
|
||||||
npm run build --silent
|
npm run build --silent
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user