Skip to content

TUI polish: keep the branch on the boot card, drop a redundant status… #504

TUI polish: keep the branch on the boot card, drop a redundant status…

TUI polish: keep the branch on the boot card, drop a redundant status… #504

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [main]
jobs:
test:
name: test (node ${{ matrix.node }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Syntax-check every source file
run: |
for f in $(find darknode.js lib test -name '*.js' | sort); do
echo "checking $f"
node --check "$f"
done
- name: Unit tests
run: npm test
- name: CLI smoke (boots + core commands)
run: |
node darknode.js --version
node darknode.js uuid
node darknode.js hash test