diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6624c08a..bccbcf66 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 diff --git a/package.json b/package.json index 86a90b31..38ab3cc9 100644 --- a/package.json +++ b/package.json @@ -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" },