ci: run build before workspace package typechecks

- Move build step before workspace package typechecking so dist type declarations are generated and available for dependent packages
This commit is contained in:
coo1estguy
2026-09-01 14:03:37 +05:30
parent d1076bfc1b
commit c495a84464
+3 -3
View File
@@ -35,6 +35,9 @@ jobs:
- name: Typecheck
run: npm run typecheck
- name: Build
run: npm run build
- name: Typecheck workspace packages
run: npm run typecheck --workspaces --if-present
@@ -43,9 +46,6 @@ jobs:
# violations instead of reporting them.
run: npx eslint .
- name: Build
run: npm run build
# ubuntu-latest ships Docker, so the testcontainers suites run here even
# though they cannot locally. This is the only place the real coverage
# number exists.