From cba8186d1fb739fd8106e6d9b032449e1b4ba9d5 Mon Sep 17 00:00:00 2001 From: Reinert Lemmens Date: Fri, 23 Feb 2024 19:41:17 +0000 Subject: [PATCH] Add checks github action --- .github/workflows/checks.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/checks.yaml diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml new file mode 100644 index 0000000..3414a14 --- /dev/null +++ b/.github/workflows/checks.yaml @@ -0,0 +1,29 @@ +name: Checks + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + run_pnpm_scripts: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Install PNPM + uses: pnpm/action-setup@v3 + + - name: Typecheck + run: pnpm run typecheck + + - name: Prettier Check + run: pnpm run prettiercheck + + - name: Test + run: pnpm run test