Skip to content

Commit 4f4866e

Browse files
ci: fix setting npm token
1 parent 51ca638 commit 4f4866e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ jobs:
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
- name: Publish Packages
53-
run: pnpm run changeset:publish
53+
run: |
54+
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
55+
pnpm run changeset:publish
5456
env:
5557
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5658
- name: Upload coverage to Codecov

0 commit comments

Comments
 (0)