Skip to content

Commit e341822

Browse files
committed
fix(test): build lib before running app tests
CI test job runs `pnpm test` without building @effect-template/lib, but the package exports types from dist. Add `pretest` to build lib so lint:tests + vitest can resolve imports.
1 parent 29229de commit e341822

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"list": "pnpm -C ../.. run list",
2323
"prestart": "pnpm run build",
2424
"start": "node dist/main.js",
25+
"pretest": "pnpm -C ../lib build",
2526
"test": "pnpm run lint:tests && vitest run",
2627
"pretypecheck": "pnpm -C ../lib build",
2728
"typecheck": "tsc --noEmit"

0 commit comments

Comments
 (0)