From d4787f28863914bf49c3176c72bf0b304772c0c7 Mon Sep 17 00:00:00 2001 From: Daniel Souza Date: Wed, 15 May 2024 14:56:50 -0300 Subject: [PATCH] fix: replace GITHUB_TOKEN with NPM_TOKEN --- .github/workflows/tagged_release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tagged_release.yaml b/.github/workflows/tagged_release.yaml index 88b7b72..83ea62c 100644 --- a/.github/workflows/tagged_release.yaml +++ b/.github/workflows/tagged_release.yaml @@ -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 @@ -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/action-setup@v3.0.0 - name: Install @@ -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/action-setup@v3.0.0 - name: Install @@ -58,4 +58,4 @@ jobs: - name: Publish tagged release to npm run: pnpm run publish:release env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file