Skip to content

docs: document host discovery rules, refresh README and CLAUDE.md #23

docs: document host discovery rules, refresh README and CLAUDE.md

docs: document host discovery rules, refresh README and CLAUDE.md #23

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [20, 22, 24]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
# Coverage thresholds are pinned at 100% in vitest.config.mjs, so this
# also fails the build if a change adds an untested line or branch.
- name: Run tests
run: npx vitest run --coverage
# The dependency tree is platform independent — auditing it once is enough.
- name: Security audit
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 22
run: npm audit --audit-level=high