Skip to content

chore(hygiene): harden multi-OS CI matrix, workflow concurrency, and … #53

chore(hygiene): harden multi-OS CI matrix, workflow concurrency, and …

chore(hygiene): harden multi-OS CI matrix, workflow concurrency, and … #53

Workflow file for this run

name: CodeCommander tests
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [20, 22, 24]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build TypeScript
run: npm run build
- name: Run tests
run: npm test
- name: Run MCP stdio integration test
run: npm run test:integration
- name: Run i18n checks
run: npm run test:i18n
- name: Check npm package contents
run: npm pack --dry-run --json