Skip to content

Commit 5e9b625

Browse files
Update npm-publish.yml
1 parent 76d679a commit 5e9b625

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ jobs:
2323
publish-npm:
2424
needs: build
2525
runs-on: ubuntu-latest
26-
defaults:
27-
run:
28-
working-directory: ./src
2926
steps:
3027
- uses: actions/checkout@v2
3128
- uses: actions/setup-node@v2
@@ -34,8 +31,10 @@ jobs:
3431
registry-url: https://registry.npmjs.org/
3532
scope: '@ngu'
3633
- run: npm install
37-
- run: npm run build
38-
- run: npm publish
34+
- run: npm run build:lib
35+
- name: Run Publish
36+
working-directory: ./dist/ngu/carousel
37+
run: npm publish --access=public
3938
env:
4039
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
4140

0 commit comments

Comments
 (0)