From 71fc6220a634ea9c8f3d0338509773c68d277fc7 Mon Sep 17 00:00:00 2001 From: Aryan Goharzad Date: Mon, 30 Jan 2023 15:33:49 -0500 Subject: [PATCH] Adds typescript check to github actions --- .github/workflows/lint.yml | 4 +++- tsconfig.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1d98598843..11459013f6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,8 +19,10 @@ jobs: with: eslint: true prettier: true - - name: Typescript & Lint check + - name: Lint check run: yarn lint + - name: Typecheck + uses: andoshin11/typescript-error-reporter-action@v1.0.2 testing: name: Run tests runs-on: ubuntu-latest diff --git a/tsconfig.json b/tsconfig.json index 6e4b9a59a2..7c8929d9e8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -100,6 +100,6 @@ "skipLibCheck": true /* Skip type checking all .d.ts files. */ }, "exclude": [ - "node_modules", "babel.config.js", "metro.config.js", "jest.config.js" + "node_modules", "babel.config.js", "metro.config.js", "jest.config.js", "__mocks__" ] }