Skip to content

Publish TensorFold server status on the device heartbeat #456

Publish TensorFold server status on the device heartbeat

Publish TensorFold server status on the device heartbeat #456

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# Matches the engines floor in package.json (">=20"). 18.x was tested
# here while unsupported, and had been failing since at least 22 Sep on
# packages/user-intent-kit/test/state-publisher.test.js: mock.timers
# .enable() took a bare array in Node 18 and an options object from 20,
# so {apis:[...]} is ERR_INVALID_ARG_TYPE there. A permanently red check
# on an unsupported runtime trains everyone to ignore CI.
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- name: Environment Sanity Check
run: node bin/cli.mjs check --config test/fixtures/basic-config.json --json