Skip to content

Commit 0789a8d

Browse files
fix(workflows): rename publish script
1 parent 7bdc912 commit 0789a8d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
id: changesets
3939
uses: changesets/action@v1
4040
with:
41-
publish: pnpm run publish:packages
41+
publish: pnpm run publish
4242
commit: "Changesets: versioning packages [skip ci]"
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"check-types": "npx turbo run check-types && echo '🔎 Check types completed'",
1414
"check-types:packages": "npx turbo run check-types --filter=\"./packages/**/*\" && echo '🔎 Check types packages completed'",
1515
"bundle": "npx turbo run bundle && echo '📦 Bundle completed'",
16-
"publish:packages": "turbo run publish"
16+
"prepublish": "pnpm run build:packages",
17+
"publish": "turbo run publish"
1718
},
1819
"devDependencies": {
1920
"@antfu/ni": "^0.23.0",

0 commit comments

Comments
 (0)