Skip to content

Commit a357af8

Browse files
authored
chore: configure pnpm for deploy with NPM token
1 parent 60a02b0 commit a357af8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cicd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
run: scripts/setup-test-validator.sh
5050

5151
- name: Publish NPM
52-
run: pnpm publish-packages
52+
run: |
53+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
54+
pnpm publish-packages
5355
env:
5456
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5557
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)