login to npn first

This commit is contained in:
hzrd149 2025-01-22 10:52:04 -06:00
parent e845d43a7a
commit c4eae33451

View File

@ -28,7 +28,10 @@ jobs:
run: pnpm install run: pnpm install
- name: Publish next version - name: Publish next version
run: pnpm changeset version --snapshot next && pnpm changeset publish --tag next run: |
pnpm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN && \
pnpm whoami && \
pnpm changeset version --snapshot next && \
pnpm changeset publish --tag next
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}