Repository navigation
TUI polish: keep the branch on the boot card, drop a redundant status… #504
Workflow file for this run
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: | |
| 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 |