Skip to content

Commit

Permalink
working directory changed for github action npm publish (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
patelvimal authored Oct 22, 2021
1 parent d2f39a5 commit 94f0734
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ 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 @@ -31,6 +34,7 @@ jobs:
registry-url: https://registry.npmjs.org/
scope: '@ngx-builders'
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand Down

0 comments on commit 94f0734

Please sign in to comment.