Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: npm run format:check

test-build:
name: Test + Build (Node ${{ matrix.node }})
name: Tests + CLI (Node ${{ matrix.node }})
runs-on: ubuntu-latest
needs: [quality]
strategy:
Expand All @@ -56,10 +56,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Node
- name: Setup tooling Node
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
# Vitest 5 needs Node 22.12+; CLI runtime support still includes Node 20.
node-version: ${{ matrix.node == '20' && '26' || matrix.node }}
cache: npm

- name: Install
Expand All @@ -71,6 +72,15 @@ jobs:
- name: Build
run: npm run build

- name: Setup CLI runtime
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
cache: npm

- name: Install runtime dependencies only
run: npm ci --omit=dev

- name: Test CLI - Merge
run: node dist/cli.js merge test-reports

Expand Down
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ If you don't see your idea listed, and you think it fits into the goals of this

## Local Development

Use Node.js 22.12 or newer on a supported Node release for development and tests.
The published CLI continues to support Node.js 20.19 or newer.

To set up the project for local development:

1. **Install dependencies**:
Expand Down
Loading
Loading