Skip to content

Commit

Permalink
chore: back to use direct publish instead of nx publish as that is no…
Browse files Browse the repository at this point in the history
…t working
  • Loading branch information
alfetopito committed Oct 30, 2023
1 parent a9ee47c commit 3d97274
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ jobs:
- name: Copy .npmrc to destination
run: cp ${{ env.NPM_CONFIG_USERCONFIG }} ${{ env.DESTINATION_PATH }}/

- name: Copy README
run: cp libs/${{ inputs.lib }}/README.md ${{ env.DESTINATION_PATH }}/

- name: Publish
run: yarn nx publish ${{ inputs.lib }} --tag ${{ inputs.tag }}
working-directory: ${{ env.DESTINATION_PATH }}
run: publish --tag ${{ inputs.tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 3d97274

Please sign in to comment.