Skip to content

chore: add npm package and CI workflow #1

chore: add npm package and CI workflow

chore: add npm package and CI workflow #1

Workflow file for this run

name: Deploy CLI
on:
push:
paths:
- 'packages/cli/**'
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Change directory to CLI package
run: cd packages/cli
- name: Publish CLI package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}