diff --git a/.circleci/config.yml b/.circleci/config.yml index 8f8260afecaa..ad6a2c45bcfd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1037,6 +1037,11 @@ steps-lint: &steps-lint cd src/electron node script/yarn install --frozen-lockfile node script/yarn lint + - run: + name: Run Script Typechecker + command: | + cd src/electron + node script/yarn tsc -p tsconfig.script.json steps-checkout-and-save-cache: &steps-checkout-and-save-cache steps: diff --git a/tsconfig.script.json b/tsconfig.script.json new file mode 100644 index 000000000000..12c0ba961b60 --- /dev/null +++ b/tsconfig.script.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "rootDir": ".", + "noEmit": true + }, + "include": [ + "script" + ] +}