Skip to content

Add Cli

Add Cli #6

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
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: "18"
- name: Install dependencies
run: npm install
- name: Link repo-toc package
run: |
npm link
cd tests
npm link repo-toc
cd ..
- name: Run tests
run: npm test