Skip to content

Commit

Permalink
chore(release): authenticate publish
Browse files Browse the repository at this point in the history
  • Loading branch information
BobrImperator committed Sep 9, 2024
1 parent 74f7aab commit 9be5965
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ jobs:
- uses: volta-cli/action@2d68418f32546fd191eb666e232b321d5726484d # v4
- run: pnpm install --frozen-lockfile
- name: Set publishing config
run: pnpm config set registry-url "https://registry.npmjs.org"
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: npm publish
run: pnpm release-plan publish
env:
Expand Down

0 comments on commit 9be5965

Please sign in to comment.