ci: enforce type checking
This commit is contained in:
parent
530a89755c
commit
bffa896184
2 changed files with 5 additions and 1 deletions
|
@ -30,6 +30,9 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: bun install
|
||||
|
||||
- name: Validate types
|
||||
run: bun typecheck
|
||||
|
||||
- name: Build Dist (Staging)
|
||||
run: VITE_CODE_VERSION=$GITHUB_SHA bun dist -m staging
|
||||
if: env.GITHUB_REF_NAME == 'master'
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
"dev": "vite --host 0.0.0.0",
|
||||
"preview": "vite preview",
|
||||
"dist": "vite build",
|
||||
"count-source-lines": "exec scripts/src-lc.sh"
|
||||
"count-source-lines": "exec scripts/src-lc.sh",
|
||||
"typecheck": "tsc --noEmit --skipLibCheck"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Rubicon",
|
||||
|
|
Loading…
Reference in a new issue