From 9fe9444c69ab1ddb49874f205f5c590aaa2f8434 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Sat, 19 Apr 2025 13:36:07 -0300 Subject: [PATCH] fix(workflow): comment out Node.js setup and adjust build commands in node.yaml --- .forgejo/workflows/node.yaml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.forgejo/workflows/node.yaml b/.forgejo/workflows/node.yaml index 903a3bf1..65708843 100644 --- a/.forgejo/workflows/node.yaml +++ b/.forgejo/workflows/node.yaml @@ -17,11 +17,11 @@ jobs: - uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' + # - name: Setup Node.js + # uses: actions/setup-node@v4 + # with: + # node-version: '20' + # cache: 'npm' - name: Copy files to deployment location run: | @@ -33,17 +33,12 @@ jobs: - name: Install production dependencies in deployment location run: | echo "[General Bots Deployer] Building BotServer..." + cd /opt/gbo/bin/BotServer - # sudo npm ci --production - - npm run build --if-present - - echo "[General Bots Deployer] Building default.gbui..." - cd /opt/gbo/bin/BotServer/packages/default.gbui + npm run build-server + # npm run build-gbui - # npm install - # npm run build - name: Restart Bots Deployer run: |