add npm script for type checking
This commit is contained in:
parent
69e54d3198
commit
1b55037db6
3
.github/workflows/CI.yml
vendored
3
.github/workflows/CI.yml
vendored
|
|
@ -95,8 +95,7 @@ jobs:
|
|||
run: |
|
||||
yarn lint
|
||||
yarn fmt:check
|
||||
yarn tsc -p . --noEmit
|
||||
yarn tsc -p ./resources/assets/tests --noEmit
|
||||
yarn type:check
|
||||
jest:
|
||||
name: Frontend Tests
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
"lint": "eslint --ext=ts -f=beauty .",
|
||||
"fmt": "prettier --write resources/assets tools webpack.config.ts",
|
||||
"fmt:check": "prettier --check resources/assets tools webpack.config.ts",
|
||||
"type:check": "tsc -p . --noEmit && tsc -p ./resources/assets/tests --noEmit",
|
||||
"test": "jest",
|
||||
"build:urls": "ts-node tools/generateUrls.ts"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user