Skip to content

Merge pull request #147 from rocketstack-matt/badges #1

Merge pull request #147 from rocketstack-matt/badges

Merge pull request #147 from rocketstack-matt/badges #1

Workflow file for this run

name: Build CLI
on:
pull_request:
branches:
- "main"
paths:
- "cli/**"
push:
branches:
- "main"
paths:
- "cli/**"
defaults:
run:
working-directory: ./cli
jobs:
cli-tests:
name: Run unit tests and lint
runs-on: ubuntu-latest
steps:
# Check out the repository
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: v20
- run: npm ci
- run: npm run test
- run: npm run lint