Skip to content

Commit

Permalink
fix(github): use env for NPM_TOKEN instead of secrets in action
Browse files Browse the repository at this point in the history
  • Loading branch information
karliatto committed Apr 23, 2024
1 parent 1996ba9 commit 429e4e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/actions/release-connect-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ runs:

- name: Set NPM token
shell: bash
env:
NPM_TOKEN: ${{ env.NPM_TOKEN }}
run: yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }}
run: yarn config set npmAuthToken ${{ env.NPM_TOKEN }}

- name: Publish to NPM
shell: bash
Expand Down

0 comments on commit 429e4e9

Please sign in to comment.