Skip to content

fix: ci

fix: ci #44

Workflow file for this run

name: Publish to NPM
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '>=18.13.0'
registry-url: 'https://registry.npmjs.org/'
- run: yarn
- run: yarn run build:lib
- run: yarn publish ./dist/libs/ngx-contextmenu
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}