Skip to content

Commit

Permalink
try and use token differently
Browse files Browse the repository at this point in the history
  • Loading branch information
Tooni committed Aug 25, 2024
1 parent 807a40c commit 807519d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pnpm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Build
run: pnpm clean && pnpm generate && pnpm build && pnpm type-check

- name: Publish no GitHub
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: pnpm publish --no-git-checks
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc && pnpm publish --no-git-checks

0 comments on commit 807519d

Please sign in to comment.