Skip to content

Commit

Permalink
Fix publishing to npm as part of the release
Browse files Browse the repository at this point in the history
  • Loading branch information
satazor committed Dec 20, 2023
1 parent 58a6054 commit ef5cf3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ jobs:
- name: Generate release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
run: yarn run release --increment "${{ github.event.inputs.VERSION_BUMP }}" -V
NPM_TOKEN: ${{ secrets.RELEASE_NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
npm run release -- --increment "${{ github.event.inputs.VERSION_BUMP }}" -V

0 comments on commit ef5cf3c

Please sign in to comment.