Skip to content

Commit

Permalink
fix: .npmrc token overrides env var token (#51)
Browse files Browse the repository at this point in the history
* fix: set public package publishing flag

* fix: .npmrc token overrides env var token
  • Loading branch information
diegobrsign authored Jun 26, 2024
1 parent da8d192 commit 9d70660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
scope: '@brightsign'
- run: yarn --frozen-lockfile
- run: echo '//registry.npmjs.org/:_authToken=${{ secrets.GITHUB_TOKEN }}' > ${{ github.workspace }}/.npmrc
- run: echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > ${{ github.workspace }}/.npmrc
- run: ./scripts/bump_version.sh
env:
GH_REF_VERSION: ${{ github.ref_name }}
Expand Down

0 comments on commit 9d70660

Please sign in to comment.