fix(workflow): comment out Node.js setup and adjust build commands in node.yaml
All checks were successful
GBCI / build (push) Successful in 30s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-19 13:36:07 -03:00
parent 84f2b7bd9b
commit 9fe9444c69

View file

@ -17,11 +17,11 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup Node.js # - name: Setup Node.js
uses: actions/setup-node@v4 # uses: actions/setup-node@v4
with: # with:
node-version: '20' # node-version: '20'
cache: 'npm' # cache: 'npm'
- name: Copy files to deployment location - name: Copy files to deployment location
run: | run: |
@ -33,17 +33,12 @@ 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..."
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-gbui
npm run build --if-present
echo "[General Bots Deployer] Building default.gbui..."
cd /opt/gbo/bin/BotServer/packages/default.gbui
# npm install
# npm run build
- name: Restart Bots Deployer - name: Restart Bots Deployer
run: | run: |