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