fix(workflows): clean up node.yaml by removing unnecessary whitespace
Some checks failed
GBCI / build (push) Failing after 4m14s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-03-26 23:33:23 -03:00
parent 294efd42f1
commit 1421600cc5

View file

@ -34,14 +34,17 @@ jobs:
sudo npm ci --production
npm run build --if-present
cd /opt/gbo/bin/BotServer/default.gbui
npm config set scripts-prepend-node-path true
echo "[General Bots Deployer] Building default.gbui..."
cd /opt/gbo/bin/BotServer/packages/default.gbui
npm config set scripts-prepend-node-path true
npm install
npm run build
cd ../..
rm -rf deploy/default.gbui/node_modules
rm -rf packages/default.gbui/node_modules
- name: Build project
run: npm run build --if-present
- name: Kill previous Node.js process (if running)
run: pkill -f "node dist/src/app.js" || true # Ignore if process doesn't exist
- name: Start Node.js in background (and persist after workflow)
run: nohup node dist/src/app.js > /dev/null 2>&1 &