Skip to content

Commit

Permalink
try npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
WilsonLe committed Feb 21, 2025
1 parent 87b47de commit 8667b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ jobs:
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- name: Configure npm access token via .npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8667b20

Please sign in to comment.