Skip to content

Commit 3107a98

Browse files
committed
chore: build before stage publish
1 parent c0fd44e commit 3107a98

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@ jobs:
3333
- name: Install Dependencies
3434
run: pnpm i
3535

36+
- name: Build Packages
37+
run: pnpm build
38+
3639
- name: Publish
3740
run: pnpm stage publish --no-git-checks

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dev": "rslib -w",
2121
"lint": "rslint && prettier -c .",
2222
"lint:write": "rslint --fix && prettier -w .",
23-
"prepare": "simple-git-hooks && npm run build",
23+
"prepare": "simple-git-hooks",
2424
"test": "rstest",
2525
"release": "node ./scripts/release.js",
2626
"bump": "npx bumpp --no-push --no-tag --no-commit"

0 commit comments

Comments
 (0)