diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index fdecf8e..5f9200a 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -15,6 +15,17 @@ jobs: run: 'npm ci' - name: Run Tests run: 'npm run test:ci' + typecheck: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Use Node.js + uses: actions/setup-node@v4 + - name: Install Dependencies + run: 'npm ci' + - name: Check Types + run: 'npm run typecheck' format: runs-on: ubuntu-latest steps: diff --git a/package.json b/package.json index cdf2a79..94b414f 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ ], "scripts": { "build": "tsc --project tsconfig.build.json", + "typecheck": "tsc --noEmit", "test": "vitest", "test:ui": "vitest --ui", "test:ci": "vitest run",