Skip to content

Commit 93374c0

Browse files
committed
OPS: Attempt to add npm token to .npmrc
1 parent 97422a5 commit 93374c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
with:
3030
run_install: false
3131

32+
- name: Configure npm auth
33+
env:
34+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
run: |
36+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
37+
3238
- name: Setup Node.js (with pnpm cache)
3339
uses: actions/setup-node@v4
3440
with:

0 commit comments

Comments
 (0)