Skip to content

Finish cli

Finish cli #11

Workflow file for this run

name: Commit Gate
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20' # Or any other version you need
- name: Install dependencies
run: npm ci --prefix src/
- name: Build
run: npm run build --prefix src/
- name: Install test dependencies
run: npm ci --prefix tests/
- name: Run tests
run: npm run test --prefix tests/