From b6737286da7a0089f9ab16bca5abd6ce3720cc63 Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Sun, 22 Dec 2024 10:43:04 +0100 Subject: [PATCH] ci: check types --- .github/workflows/types.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/types.yml diff --git a/.github/workflows/types.yml b/.github/workflows/types.yml new file mode 100644 index 000000000..9b272373e --- /dev/null +++ b/.github/workflows/types.yml @@ -0,0 +1,29 @@ +name: Run Type Test +on: [push] + +env: + PNPM_CACHE_FOLDER: .pnpm-store + +jobs: + test: + name: Are the types wrong? + runs-on: ubuntu-24.04 + strategy: + matrix: + node-version: [20] + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup pnpm + uses: pnpm/action-setup@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: pnpm + - name: Install dependencies + run: pnpm install + - name: Build + run: pnpm run build + - name: Check Types + run: pnpm run test:attw