fix(ci): build root package before typechecking workspace packages

Workspace packages import 'notifkit' which resolves to root dist/index.d.mts. Running build first ensures declaration files exist before workspace typecheck runs.
This commit is contained in:
coo1estguy
2026-09-28 13:14:53 +05:30
parent 516ea88bb1
commit 88a13de2c2
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -35,12 +35,12 @@ jobs:
- name: Typecheck
run: npm run typecheck
- name: Typecheck workspace packages
run: npm run typecheck:workspaces
- name: Build
run: npm run build
- name: Typecheck workspace packages
run: npm run typecheck:workspaces
- name: Lint
# Not `npm run lint` — that script carries --fix, which would paper over
# violations instead of reporting them.