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