diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b5fb97f..0eb4197 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,7 +25,7 @@ jobs: run: pnpm eslint - name: Check Types - run: pnpm tsc --noEmit + run: pnpm tsc - name: Test Action run: pnpm test diff --git a/lefthook.yml b/lefthook.yml index 5f86e18..936e465 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -15,14 +15,12 @@ pre-commit: run: pnpm eslint --no-warn-ignored --fix {staged_files} - name: check types - run: pnpm tsc --noEmit + run: pnpm tsc glob: - - src/*.ts + - "*.ts" - .npmrc - pnpm-lock.yaml - tsconfig.json - exclude: - - src/*.test.ts - name: build action run: pnpm rollup -c diff --git a/tsconfig.json b/tsconfig.json index 57eab14..452833a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,7 @@ { "extends": "@tsconfig/node20", - "include": ["src"], - "exclude": ["**/*.test.ts"], "compilerOptions": { - "module": "node16" + "module": "node16", + "noEmit": true } }