Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
santoshyadavdev committed Nov 15, 2021
1 parent 76d679a commit 5e9b625
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
publish-npm:
needs: build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -34,8 +31,10 @@ jobs:
registry-url: https://registry.npmjs.org/
scope: '@ngu'
- run: npm install
- run: npm run build
- run: npm publish
- run: npm run build:lib
- name: Run Publish
working-directory: ./dist/ngu/carousel
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 5e9b625

Please sign in to comment.