From 71462db5f2bca693f40f71f6866037e70cc90048 Mon Sep 17 00:00:00 2001 From: Erik Arvidsson Date: Fri, 27 Mar 2026 14:04:49 +0100 Subject: [PATCH] chore: Check types in CI --- .github/workflows/check-types.yml | 20 ++++++++++++++++++++ .github/workflows/test.yml | 1 - 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/check-types.yml diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.yml new file mode 100644 index 0000000..0a20c17 --- /dev/null +++ b/.github/workflows/check-types.yml @@ -0,0 +1,20 @@ +name: Check Types + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 24 + cache: 'pnpm' + - run: pnpm install + - run: pnpm check-types diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c50caf..7c16cde 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,6 @@ jobs: steps: - uses: actions/checkout@v6 - uses: pnpm/action-setup@v5 - - uses: actions/setup-node@v6 with: node-version: 24