Skip to content

Commit

Permalink
ci: use correct npm auth
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusNotheis committed Aug 31, 2020
1 parent 9cd84f4 commit 48bbfb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ jobs:
- name: publish
run: |
npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish prerelease \
--conventional-prerelease \
--create-release github \
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
- name: publish
run: |
npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish ${{ github.event.inputs.release_type }} \
--conventional-graduate \
--create-release github
Expand Down

0 comments on commit 48bbfb7

Please sign in to comment.