Update publish.yml

This commit is contained in:
NinjaPug
2025-05-01 18:12:06 -04:00
committed by GitHub
parent e88e767d75
commit d4fa5f3c27

View File

@@ -3,6 +3,7 @@ name: Publish to NPM
on:
release:
types: [created]
workflow_dispatch:
jobs:
build-and-publish:
@@ -17,4 +18,4 @@ jobs:
- run: npm run build:lib
- run: cd dist/ngx-pendo-lite && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}