Skip to content

Merge pull request #616 from Thels/cli-integration-tests #598

Merge pull request #616 from Thels/cli-integration-tests

Merge pull request #616 from Thels/cli-integration-tests #598

Workflow file for this run

name: CLI
on:
pull_request:
branches:
- "main"
paths:
- "cli/**"
- "shared/**"
push:
branches:
- "main"
paths:
- "cli/**"
- "shared/**"
jobs:
cli:
name: Build, Test, and Lint CLI Module
runs-on: ubuntu-latest
steps:
# Ensure full PR checkout
- name: Checkout PR Branch
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: v20
- name: Install workspace
run: npm ci
- name: Build workspace
run: npm run build
- name: Run tests for CLI
run: npm run test --workspace=cli