config: built-in global network's websocket_url now includes /connect
#77
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| node: ['20', '22', '24'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run typecheck | |
| - run: npm test | |
| - run: npm run build | |
| smoke: | |
| # End-to-end smoke test: drive the actual `robotnet` binary through a | |
| # `network start` → `admin agent create` → `admin agent list` → | |
| # `network status` → `network stop` lifecycle against the local | |
| # operator. Catches wiring regressions that the unit tests miss | |
| # (commander integration, supervisor lifecycle, real HTTP roundtrip | |
| # to the spawned operator). Runs on Linux only — Windows process | |
| # supervision quirks (signals, taskkill semantics) are out of scope | |
| # for a quick CI smoke check; the Linux run is the highest-signal | |
| # one. | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm run smoke |