Skip to content

Commit aaf417f

Browse files
authored
chore: build before stage publish (#49)
1 parent 875e8d6 commit aaf417f

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
@@ -19,7 +19,7 @@
1919
"dev": "rslib -w",
2020
"lint": "rslint && prettier -c .",
2121
"lint:write": "rslint --fix && prettier -w .",
22-
"prepare": "simple-git-hooks && npm run build",
22+
"prepare": "simple-git-hooks",
2323
"test": "playwright test",
2424
"bump": "npx bumpp"
2525
},

0 commit comments

Comments
 (0)