mirror of
https://github.com/devkitshq/notifkit.git
synced 2026-10-19 18:24:52 +02:00
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:
@@ -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.
|
||||
|
||||
+1
-1
@@ -70,7 +70,7 @@
|
||||
"typecheck": "tsc --noEmit",
|
||||
"typecheck:workspaces": "npm run typecheck --workspaces --if-present",
|
||||
"prepare": "husky",
|
||||
"prepublishOnly": "npm run typecheck && npm run typecheck:workspaces && npm run build && npm run build:dashboard"
|
||||
"prepublishOnly": "npm run typecheck && npm run build && npm run typecheck:workspaces && npm run build:dashboard"
|
||||
},
|
||||
"dependencies": {
|
||||
"ai": "^7.0.118",
|
||||
|
||||
Reference in New Issue
Block a user