|
@@ -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
|