From 88ce736d7f4343570a8568b69fd97c3c9c224bf4 Mon Sep 17 00:00:00 2001 From: Tommaso Morganti Date: Fri, 14 Mar 2025 22:59:09 +0100 Subject: [PATCH] ci: typecheck and lint --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml 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