diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..5242a03 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test +on: + push: + pull_request: + workflow_dispatch: + +jobs: + test: + name: Typecheck and Lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + version: 10 + run_install: false + - uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + cache: pnpm + - name: Install Dependencies + run: pnpm install + - name: Typecheck + run: pnpm run typecheck + - name: Lint + run: pnpm run lint