Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

Commit 67bfb3d

Browse files
committed
Don't publish if no version bump
1 parent 2059a29 commit 67bfb3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-package.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
pull-requests: write
3333
steps:
3434
- uses: actions/checkout@v4
35+
with:
36+
fetch-depth: 0
3537
- uses: actions/setup-node@v4
3638
with:
3739
node-version: 20.10
@@ -43,7 +45,7 @@ jobs:
4345
id: changesets
4446
uses: changesets/action@v1
4547
with:
46-
publish: yarn npm publish --access public
48+
publish: yarn changeset publish
4749
env:
4850
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4951
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)