Skip to content

Commit

Permalink
chore: try to authenticate with pnpm publish using the `NODE_AUTH_T…
Browse files Browse the repository at this point in the history
…OKEN` env var
  • Loading branch information
steveluscher committed Apr 3, 2023
1 parent a357af8 commit e9868c2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ jobs:
run: scripts/setup-test-validator.sh

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

- name: Deploy Github Page
Expand Down

0 comments on commit e9868c2

Please sign in to comment.