Skip to content

Commit

Permalink
chore: configure pnpm for deploy with NPM token
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher committed Apr 3, 2023
1 parent 60a02b0 commit a357af8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ jobs:
run: scripts/setup-test-validator.sh

- name: Publish NPM
run: pnpm publish-packages
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
pnpm publish-packages
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit a357af8

Please sign in to comment.