Skip to content

Commit

Permalink
Pass NPM_TOKEN to release step
Browse files Browse the repository at this point in the history
  • Loading branch information
satazor committed Nov 20, 2023
1 parent 7770ad8 commit 702ad00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ jobs:
git config user.email "[email protected]"
- name: Generate release
id: generate-release
env:
NPM_TOKEN: ${{ secrets.RELEASE_NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
run: yarn run release --increment "${{ github.event.inputs.VERSION_BUMP }}" -V
run: |
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
yarn run release --increment ${{ github.event.inputs.VERSION_BUMP }} -V

0 comments on commit 702ad00

Please sign in to comment.