Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Update Typescript config and add typecheck to CI

Artur Pata83b7a7ec5336
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index a51cf0bc5f..f4da67f916 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 f8f962af9f..b435f6fda5 100644
--- a/assets/tsconfig.json
+++ b/assets/tsconfig.json
@@ -1,5 +1,6 @@
{
"compilerOptions": {
+ "noEmit": true,
"jsx": "react",
"target": "es2017",
"module": "commonjs",