Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

ci(npm-package): the standalone check reads the server's address with account status

milind-soni58974b2ac44e
diff --git a/.github/workflows/npm-package.yml b/.github/workflows/npm-package.yml
index 0ff7915e19..924c91ab2a 100644
--- a/.github/workflows/npm-package.yml
+++ b/.github/workflows/npm-package.yml
@@ -51,7 +51,7 @@ jobs:
for i in $(seq 1 30); do grep -q "^Reach .*https://ci.example" serve.log && break; sleep 1; done
grep -q "^Reach .*https://ci.example" serve.log
grep -q "Get a pairing code: openmausbot pair" serve.log
- OMB_PORT=18799 node cli.js status | grep -q 'Server "ci"'
+ OMB_PORT=18799 node cli.js account status | grep -q 'Server "ci"'
OMB_PORT=18799 node cli.js pair --label "CI phone" | grep -q "Link https://ci.example/pair#code="
OMB_PORT=18799 node cli.js sessions | grep -q "no paired devices yet"
# the bundles also run directly by path (the image and docs do that), not only through cli.js:
@@ -65,7 +65,7 @@ jobs:
# the enterprise layer ships bundled (inert without a key) so a white-label key works on an npm install
test -f enterprise/server/index.js && test -f enterprise/LICENSE
if HOME=/tmp/omb-pack/home node cli.js serve --tunnel --port 18798 --data-dir /tmp/omb-pack/data2 > tunnel.log 2>&1; then echo "serve --tunnel should refuse without login"; exit 1; fi
- grep -q "run openmausbot login first" tunnel.log
+ grep -q "run openmausbot account login first" tunnel.log
kill %1; wait %1 || true
- name: Prove an npm install brings the Data engine's native modules
working-directory: /tmp/omb-pack/package