fix(workflows): clean up node.yaml by removing unnecessary whitespace
All checks were successful
GBCI / build (push) Successful in 6m4s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-03-28 07:14:35 -03:00
parent 49203c3abb
commit 8584e43cc7
2 changed files with 10 additions and 3 deletions

View file

@ -43,7 +43,9 @@ jobs:
rm -rf packages/default.gbui/node_modules
- name: Kill previous Node.js process (if running)
run: pkill -f "node dist/src/app.js" || true # Ignore if process doesn't exist
run: |
pkill -f "node dist/src/app.js" || true # Ignore if process doesn't exist
- name: Start Node.js in background (and persist after workflow)
run: nohup node dist/src/app.js > /dev/null 2>&1 &
run: |
nohup npm run start > /dev/null 2>&1 &

View file

@ -803,8 +803,13 @@ export class GBMinService {
: GBConfigService.get('MARKETPLACE_SECRET')
};
if (GBConfigService.get('GB_MODE') !== 'legacy') {
const url =
process.env.BOT_URL ||
`http://localhost:${GBConfigService.get('PORT')}`;
startRouter(GBServer.globals.server, instance.botId);
config['clientOptions'] = { baseUri: `http://localhost:${GBConfigService.get('PORT')}` };
config['clientOptions'] = { baseUri: url };
}
const adapter = new BotFrameworkAdapter(config);