From 10c797413bbf7382d4439cddf84fd4e82aa46ce1 Mon Sep 17 00:00:00 2001 From: Alexey Romanov Date: Mon, 7 Oct 2024 07:22:22 +0000 Subject: [PATCH] Include type-check in CI --- .github/workflows/lint-js-and-ruby.yml | 2 ++ .gitignore | 6 ++++++ tsconfig.json | 1 + 3 files changed, 9 insertions(+) diff --git a/.github/workflows/lint-js-and-ruby.yml b/.github/workflows/lint-js-and-ruby.yml index 0523bcf23..d6946a64a 100644 --- a/.github/workflows/lint-js-and-ruby.yml +++ b/.github/workflows/lint-js-and-ruby.yml @@ -53,3 +53,5 @@ jobs: run: yarn start lint - name: Check formatting run: yarn start format.listDifferent + - name: Type-check TypeScript + run: yarn run type-check diff --git a/.gitignore b/.gitignore index e28c4dbde..b9eb951cc 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,9 @@ npm-debug.* yalc.lock .byebug_history + +# IDE +.idea/ + +# TypeScript +*.tsbuildinfo diff --git a/tsconfig.json b/tsconfig.json index b892db3d6..13fa3eb7a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "outDir": "node_package/lib", "strict": true, + "incremental": true, "target": "es5" }, "include": ["node_package/src/**/*"]