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