Skip to content

Commit

Permalink
chore: split publish commands into 2 steps
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetopito committed Oct 30, 2023
1 parent 56a1096 commit 82650cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ jobs:
- name: Build
run: yarn nx build ${{ inputs.lib }}

- name: Change to lib dir
run: cd dist/libs/${{ inputs.lib }}

- name: Publish (without helper script)
run: >
cd dist/libs/${{ inputs.lib }}
npm publish --access public
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 82650cd

Please sign in to comment.