Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix: package publish (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeroBurny authored May 3, 2023
1 parent 609d25c commit f05f174
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ jobs:
- run: yarn build
if: ${{ steps.release.outputs.release_created }}

- run: yarn npm publish --access public
- run: |
echo npmAuthToken: "$NODE_AUTH_TOKEN" >> ./.yarnrc.yml
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
- run: yarn npm publish --access public
if: ${{ steps.release.outputs.release_created }}

0 comments on commit f05f174

Please sign in to comment.