From 83b7a7ec5336e1895cbc2d0cae8492550ee6b261 Mon Sep 17 00:00:00 2001 From: Artur Pata Date: Thu, 15 Aug 2024 14:45:06 +0300 Subject: [PATCH] Update Typescript config and add typecheck to CI --- .github/workflows/node.yml | 1 + assets/tsconfig.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index a51cf0bc5..f4da67f91 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -25,6 +25,7 @@ jobs: node-version: ${{steps.versions.outputs.nodejs}} - run: npm install --prefix ./assets - run: npm install --prefix ./tracker + - run: npm run typecheck --prefix ./assets - run: npm run lint --prefix ./assets - run: npm run check-format --prefix ./assets - run: npm run test --prefix ./assets diff --git a/assets/tsconfig.json b/assets/tsconfig.json index f8f962af9..b435f6fda 100644 --- a/assets/tsconfig.json +++ b/assets/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "noEmit": true, "jsx": "react", "target": "es2017", "module": "commonjs",