Skip to content

Commit 04d75d1

Browse files
committed
fix(workflows/npm-checks): build showcase lib before lints
1 parent ce9e503 commit 04d75d1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/npm-checks.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ jobs:
3434
- name: Install dependencies
3535
run: pnpm install
3636

37+
- name: Build showcase
38+
run: pnpm build:showcase-lib
39+
3740
- name: Run lint on all packages
38-
run: pnpm -r lint
41+
run: pnpm lint
3942

4043
- name: Run format check on all packages
41-
run: pnpm -r fmt:check
44+
run: pnpm fmt:check

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"js/react"
66
],
77
"scripts": {
8+
"build:showcase-lib": "pnpm run -r --filter \"*showcase\" build",
89
"lint": "pnpm run -r lint",
910
"fmt": "npx prettier --write .",
1011
"fmt:check": "npx prettier --check ."

0 commit comments

Comments
 (0)