Skip to content

Merge branch 'release/0.0.9' #7

Merge branch 'release/0.0.9'

Merge branch 'release/0.0.9' #7

name: CLI npm publish
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
cli:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./cli
steps:
- uses: actions/checkout@v4
- name: Install nodegit deps
run: sudo apt-get update && sudo apt-get install -y libkrb5-dev
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}