Skip to content

Commit

Permalink
fix(ci): set registry config explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
ssut committed Jul 12, 2024
1 parent 7292ce4 commit 53cbf77
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ jobs:
TAG_NAME: ${{ github.event.release.tag_name }}
run: pnpm version ${TAG_NAME} --no-git-tag-version

- name: 🐙 Publish
- name: Set publishing config
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_TOKEN }}

- name: 🐙 Publish
run: |
pnpm publish --no-git-checks
pnpm publish --no-git-checks --access=public

0 comments on commit 53cbf77

Please sign in to comment.