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

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-03-26 22:41:47 -03:00
parent 296365ea3f
commit 195ac0e411
3 changed files with 49356 additions and 6 deletions

View file

@ -23,11 +23,25 @@ jobs:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Copy files to deployment location
run: |
sudo cp ./* /opt/gbo/bin/BotServer/
- name: Run tests
run: npm test
- 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
cd /opt/gbo/bin/BotServer/default.gbui
npm config set scripts-prepend-node-path true
echo "[General Bots Deployer] Building default.gbui..."
npm install
npm run build
cd ../..
rm -rf deploy/default.gbui/node_modules
- name: Build project
run: npm run build --if-present

1
.gitignore vendored
View file

@ -25,7 +25,6 @@ GB.log
gb.log
GB.log.json
yarn-error.log
package-lock.json
yarn-lock.json
logo.svg
screenshot.png

49337
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff