Skip to content

Commit faf18a0

Browse files
committed
fix(ci): build @info/shared before running tests
apps/web and apps/api import from @info/shared subpath exports (./utils, ./types) whose package.json export maps point at dist/*.js. Without a build, vitest cannot resolve them at test time — fixes ERR_MODULE_NOT_FOUND in apps/web format tests.
1 parent 8eef7b8 commit faf18a0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161
pnpm --filter @info/db typecheck
6262
pnpm --filter @info/shared typecheck
6363
64+
- name: Build shared package
65+
run: pnpm --filter @info/shared build
66+
6467
- name: Typecheck api
6568
if: needs.changes.outputs.api == 'true'
6669
run: pnpm --filter @info/api typecheck

0 commit comments

Comments
 (0)