Skip to content

Commit 0bc5604

Browse files
committed
fix npm publish step to use changesets action
1 parent b005ce6 commit 0bc5604

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ jobs:
6464
echo "Using npm tag: $NPM_TAG"
6565
6666
- name: Publish to npm
67-
run: pnpm -r publish --access public --no-git-checks --tag ${{ steps.determine_npm_tag.outputs.npm_tag }}
67+
id: changesets
68+
uses: changesets/action@v1
69+
with:
70+
publish: pnpm -r publish --access public --no-git-checks --tag ${{ steps.determine_npm_tag.outputs.npm_tag }}
6871
env:
69-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
70-
NPM_CONFIG_PROVENANCE: true
72+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)