Skip to content

Commit

Permalink
add npm token for auto publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
binjamil committed May 18, 2024
1 parent a919fc5 commit 8e81e75
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ jobs:
cache: "pnpm"

- run: pnpm install --frozen-lockfile
- name: Create release pull request
- name: Create release pull request and publish to npm
id: changesets
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
publish: pnpm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8e81e75

Please sign in to comment.