From 837247f81b2f0d8174a68e65043a9d2ac32b225c Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Sat, 2 Apr 2022 02:53:14 +0200 Subject: [PATCH] chore: add type-check gh actions like monorepo --- .github/workflows/type-check.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/type-check.yml diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml new file mode 100644 index 0000000000..69a2997013 --- /dev/null +++ b/.github/workflows/type-check.yml @@ -0,0 +1,27 @@ + +name: Check types +on: + pull_request: + branches: + - main +jobs: + types: + name: Check types + strategy: + matrix: + node: ["14.x"] + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout repo + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Use Node ${{ matrix.node }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + - run: yarn + - run: yarn type-check \ No newline at end of file