Skip to content

Publish CLI Package to npm #6

Publish CLI Package to npm

Publish CLI Package to npm #6

Workflow file for this run

name: Publish CLI Package to npm
on:
push:
tags:
# This is a glob pattern not a regex
- 'cli/v[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
- name: Build CLI
run: pnpm build
working-directory: apps/cli
- run: pnpm publish --access public --no-git-checks
working-directory: apps/cli
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}