Skip to content

Commit

Permalink
fix: replace GITHUB_TOKEN with NPM_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
dsouza95 committed May 15, 2024
1 parent 6ca81b3 commit d4787f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tagged_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
node: [ 18 ]
runs-on: ${{matrix.os}}
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Set up Git repository
uses: actions/checkout@v3
Expand All @@ -21,7 +21,7 @@ jobs:
with:
node-version: ${{matrix.node}}
registry-url: https://npm.pkg.github.com/
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.NPM_TOKEN }}
- name: Setup pnpm
uses: pnpm/[email protected]
- name: Install
Expand All @@ -48,7 +48,7 @@ jobs:
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.NPM_TOKEN }}
- name: Setup pnpm
uses: pnpm/[email protected]
- name: Install
Expand All @@ -58,4 +58,4 @@ jobs:
- name: Publish tagged release to npm
run: pnpm run publish:release
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit d4787f2

Please sign in to comment.