Skip to content

Commit

Permalink
chore: fix publish workflow and trigger a release
Browse files Browse the repository at this point in the history
Release-As: 0.3.3
  • Loading branch information
ocavue committed Jul 28, 2024
1 parent 755fc8a commit 57741ca
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: [version]
# if: ${{ needs.version.outputs.release_created }}
if: ${{ needs.version.outputs.release_created }}
steps:
- uses: actions/checkout@v4

Expand All @@ -40,7 +40,6 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ".npmrc"
npm publish --access public
rm ".npmrc"
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 57741ca

Please sign in to comment.