Skip to content

Commit d1af485

Browse files
authored
chore: build before stage publish (#63)
1 parent 5e8178e commit d1af485

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 && npx playwright 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
@@ -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 && pnpm run build",
23+
"prepare": "simple-git-hooks",
2424
"test": "playwright test",
2525
"bump": "pnpx bumpp"
2626
},

0 commit comments

Comments
 (0)