Skip to content

Commit

Permalink
ci: expose NPM_TOKEN to all steps
Browse files Browse the repository at this point in the history
  • Loading branch information
edumudu committed Mar 11, 2022
1 parent 39e7eea commit 99e5862
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Update Package.json version
run: |
Expand All @@ -39,3 +38,6 @@ jobs:
git add .
git commit -m "bump package version"
git push
- env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 99e5862

Please sign in to comment.