Skip to content

Commit 4a28604

Browse files
authored
chore: build before stage publish (#36)
1 parent 3e1fe51 commit 4a28604

3 files changed

Lines changed: 7 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

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@ jobs:
3535
- name: Install Dependencies
3636
run: pnpm install
3737

38+
- name: Build Packages
39+
run: pnpm build
40+
3841
- name: Run Test
3942
run: pnpm run test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dev": "rslib -w",
2323
"lint": "rslint && prettier -c .",
2424
"lint:write": "rslint --fix && prettier -w .",
25-
"prepare": "simple-git-hooks && rslib",
25+
"prepare": "simple-git-hooks",
2626
"test": "rstest",
2727
"bump": "npx bumpp"
2828
},

0 commit comments

Comments
 (0)