Skip to content

Release Simulator Broker 0.1.0-alpha.4 #129

Release Simulator Broker 0.1.0-alpha.4

Release Simulator Broker 0.1.0-alpha.4 #129

Workflow file for this run

# Public Node test surface. GitHub-hosted Ubuntu does not see the operator
# home path and has no Simulator, so it runs docs, broker-core, skill
# ownership, and harness-adoption. Client tests run on GitHub-hosted macOS.
# Home-path public-surface scanning belongs to `npm test` on the operator
# machine, not this workflow. Do not raise job budgets to hide hung waits.
name: Node tests
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: node-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
node-ubuntu:
name: broker-core harness-adoption
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: "20"
package-manager-cache: false
- name: Managed skill ownership
run: bash scripts/check_managed_skill_ownership.sh
- name: Public docs contract
run: npm run test:docs
- name: broker-core tests
run: npm run test:broker-core
- name: harness-adoption tests
run: npm run test:harness-adoption
node-macos:
name: client
runs-on: macos-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: "20"
package-manager-cache: false
- name: client tests
# Do not add --test-force-exit. On Node 20 it exits the process while
# later describe() tests are still queued (cancelledByParent).
run: node --test --test-concurrency=1 --test-timeout=120000 client/test/*.test.mjs