Skip to content

Commit

Permalink
updated npm-publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Natesh Mogera committed Aug 31, 2023
1 parent 0ffb49a commit 98d100e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish to NPM
on:
release:
types: [created]
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -16,6 +16,6 @@ jobs:
- name: Install dependencies 🔧
run: npm ci
- name: Publish package on NPM 📦
run: npm publish --access public
run: npm run npm-publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 98d100e

Please sign in to comment.