Skip to content

chore: bump cli version #2

chore: bump cli version

chore: bump cli version #2

Workflow file for this run

name: "[CLI] Publish to NPM"
on:
push:
branches: [main]
paths:
- cli/**
workflow_dispatch:
defaults:
run:
working-directory: cli
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Build CLI
run: npm run build
- name: Publish to NPM
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}