Skip to content

Run the CLI tests in CI #5

Run the CLI tests in CI

Run the CLI tests in CI #5

Workflow file for this run

name: CLI Tests
on:
push:
paths:
- "cli/**"
pull_request:
paths:
- "cli/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: cli/package.json
cache: npm
- name: Install dependencies
run: npm install --workspace=cli
- name: Build CLI
run: npm run build --workspace=cli
- name: Run tests
run: npm run test --workspace=cli