build: configure TypeScript not to emit compiled files

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
Alfi Maulana 2025-06-10 13:21:40 +07:00
parent 14703a1253
commit 10c4b27bf7
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4
3 changed files with 4 additions and 3 deletions

View File

@ -25,7 +25,7 @@ jobs:
run: pnpm eslint
- name: Check Types
run: pnpm tsc --noEmit
run: pnpm tsc
- name: Test Action
run: pnpm test

View File

@ -15,7 +15,7 @@ pre-commit:
run: pnpm eslint --no-warn-ignored --fix {staged_files}
- name: check types
run: pnpm tsc --noEmit
run: pnpm tsc
glob:
- "*.ts"
- .npmrc

View File

@ -1,6 +1,7 @@
{
"extends": "@tsconfig/node20",
"compilerOptions": {
"module": "node16"
"module": "node16",
"noEmit": true
}
}