Skip to content

Commit 8667b20

Browse files
committed
try npmrc
1 parent 87b47de commit 8667b20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ jobs:
9292
cache: "pnpm"
9393
- run: pnpm install
9494
- run: pnpm build
95+
- name: Configure npm access token via .npmrc
96+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
9597
- run: pnpm publish --access public --no-git-checks
96-
env:
97-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)