Skip to content

Commit e9868c2

Browse files
authored
chore: try to authenticate with pnpm publish using the NODE_AUTH_TOKEN env var
1 parent a357af8 commit e9868c2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ jobs:
4949
run: scripts/setup-test-validator.sh
5050

5151
- name: Publish NPM
52-
run: |
53-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
54-
pnpm publish-packages
52+
run: pnpm publish-packages
5553
env:
5654
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5756
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5857

5958
- name: Deploy Github Page

0 commit comments

Comments
 (0)