fix(workflows): clean up node.yaml by removing unnecessary whitespace
Some checks failed
GBCI / build (push) Failing after 9s
Some checks failed
GBCI / build (push) Failing after 9s
This commit is contained in:
parent
296365ea3f
commit
195ac0e411
3 changed files with 49356 additions and 6 deletions
|
@ -23,11 +23,25 @@ jobs:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Copy files to deployment location
|
||||||
run: npm ci
|
run: |
|
||||||
|
sudo cp ./* /opt/gbo/bin/BotServer/
|
||||||
|
|
||||||
- name: Run tests
|
- name: Install production dependencies in deployment location
|
||||||
run: npm test
|
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
|
- name: Build project
|
||||||
run: npm run build --if-present
|
run: npm run build --if-present
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -25,7 +25,6 @@ GB.log
|
||||||
gb.log
|
gb.log
|
||||||
GB.log.json
|
GB.log.json
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
package-lock.json
|
|
||||||
yarn-lock.json
|
yarn-lock.json
|
||||||
logo.svg
|
logo.svg
|
||||||
screenshot.png
|
screenshot.png
|
||||||
|
|
49337
package-lock.json
generated
Normal file
49337
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue