Skip to content

cli-v0.1.7

cli-v0.1.7 #11

Workflow file for this run

name: cli ci
on:
push:
branches: [main]
paths:
- "cli/**"
- ".github/workflows/cli-ci.yml"
pull_request:
paths:
- "cli/**"
- ".github/workflows/cli-ci.yml"
defaults:
run:
working-directory: cli
jobs:
test:
name: typecheck + test (${{ matrix.os }}, node ${{ matrix.node }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
node: ["22", "24"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
cache-dependency-path: cli/package-lock.json
- run: npm ci
- run: npm run typecheck
- run: npm test
- run: npm run build