Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
chore(workflows): npm config set to global (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored Oct 8, 2023
1 parent 3a0ed20 commit 1fe0539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ jobs:

- run: pnpm turbo run build --filter='./packages/*'

- run: npm config set "//registry.npmjs.org/:_authToken" "\${NPM_AUTH_TOKEN}" --location=project
- run: npm config set "//registry.npmjs.org/:_authToken" "\${NPM_AUTH_TOKEN}" --location=global

- run: pnpm -r exec npm publish --access public --tag latest --no-git-checks
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- run: npm config delete "//registry.npmjs.org/:_authToken" --location=project
- run: npm config delete "//registry.npmjs.org/:_authToken" --location=global
if: always()

1 comment on commit 1fe0539

@vercel
Copy link

@vercel vercel bot commented on 1fe0539 Oct 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.