fix(workflow): clean up node_modules before installing production dependencies in BotServer
Some checks failed
GBCI / build (push) Failing after 2m32s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-26 16:56:38 -03:00
parent 32183519d2
commit 4db5e10b15

View file

@ -34,7 +34,7 @@ jobs:
- name: Install production dependencies in deployment location - name: Install production dependencies in deployment location
run: | run: |
echo "[General Bots Deployer] Building BotServer..." echo "[General Bots Deployer] Building BotServer..."
rm -rf /opt/gbo/bin/BotServer/node_modules
cd /opt/gbo/bin/BotServer cd /opt/gbo/bin/BotServer
sudo npm ci --production sudo npm ci --production
npm run build-server npm run build-server