From f0ada4976fc19ac55631099f0800d8bb2f5150aa Mon Sep 17 00:00:00 2001 From: Mahmoud Moravej <55846417+mahmoudmoravej@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:12:02 -0500 Subject: [PATCH] Add typecheck Github action --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..232c7fb --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: TypeScript Type Check + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Install Dependencies + run: yarn install + + - name: Run tsc + run: yarn tsc