Skip to content

Commit

Permalink
Update token
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Rico <[email protected]>
  • Loading branch information
SferaDev committed Sep 19, 2024
1 parent 0e8c572 commit 4d81ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:

- name: Configure npm registry token
if: ${{ steps.secrets.outputs.exist == 'true' }}
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
git config user.email "[email protected]"
git config user.name "Xata"
echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
id: config
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 4d81ef9

Please sign in to comment.