Skip to content

replace finos-labs with finos (#195) #88

replace finos-labs with finos (#195)

replace finos-labs with finos (#195) #88

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
- run: npm run build
# Try running each command
- run: npx calm validate -p ../calm/pattern/api-gateway.json -i ../calm/samples/api-gateway-implementation.json
- run: npx calm generate -p ../calm/pattern/api-gateway.json -s ../calm/draft/2024-04/meta
- run: npx calm visualize -p ../calm/pattern/api-gateway.json