Skip to content

Commit ed3bf01

Browse files
committed
chore: fix workflow
1 parent 1ba4caa commit ed3bf01

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.changeset/shaggy-sheep-listen.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-base-virtual-list": patch
3+
---
4+
5+
chore: fix workflow

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
id: changesets
3232
uses: changesets/action@v1
3333
with:
34-
publish: pnpm changeset publish
34+
publish: pnpm publish
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for write repo
3737

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"preview": "vite preview",
3535
"change": "changeset",
3636
"version": "changeset version",
37-
"publish": "changeset publish",
38-
"prepublishOnly": "pnpm run build"
37+
"publish": "pnpm run build && changeset publish"
3938
},
4039
"peerDependencies": {
4140
"react": "^18 || ^19",

0 commit comments

Comments
 (0)