Skip to content

Commit d6dd2eb

Browse files
committed
ci: adds build step for every action
1 parent 04ebd2e commit d6dd2eb

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
cache: 'pnpm'
2222
- name: Install dependencies
2323
run: pnpm install
24+
- name: Build libs
25+
run: pnpm build:all
2426
- name: Build docs
2527
run: pnpm doc
2628
lintcheck:
@@ -39,6 +41,8 @@ jobs:
3941
cache: 'pnpm'
4042
- name: Install dependencies
4143
run: pnpm install
44+
- name: Build libs
45+
run: pnpm build:all
4246
- name: Lintcheck
4347
run: pnpm lint:check
4448
typecheck:
@@ -57,6 +61,8 @@ jobs:
5761
cache: 'pnpm'
5862
- name: Install dependencies
5963
run: pnpm install
64+
- name: Build libs
65+
run: pnpm build:all
6066
- name: Typecheck
6167
run: pnpm type:check
6268
spec:
@@ -75,5 +81,7 @@ jobs:
7581
cache: 'pnpm'
7682
- name: Install dependencies
7783
run: pnpm install
84+
- name: Build libs
85+
run: pnpm build:all
7886
- name: Spec
7987
run: pnpm spec

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
cache: 'pnpm'
2626
- name: Install dependencies
2727
run: pnpm install
28+
- name: Build libs
29+
run: pnpm build:all
2830
- name: Build docs
2931
run: pnpm doc
3032
- name: Setup Pages

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"scripts": {
88
"spec": "vitest run",
99
"doc": "typedoc",
10+
"build:all": "pnpm --filter core build && pnpm --filter react build",
1011
"lint:check": "eslint .",
1112
"type:check": "tsc --build ./tsconfig.typecheck.json --noEmit"
1213
},

0 commit comments

Comments
 (0)