build: configure TypeScript to cover all files (#732)
Some checks failed
Build / Build Action (push) Has been cancelled
Test / Test Action (macos-14) (push) Has been cancelled
Test / Test Action (ubuntu-24.04) (push) Has been cancelled
Test / Test Action (windows-2022) (push) Has been cancelled
Test / Test Action With Specified Directories (push) Has been cancelled
Test / Test Action Without Run Build (push) Has been cancelled
Test / Test Action With Additional Options (push) Has been cancelled
Test / Test Action With Custom Generator (push) Has been cancelled

* build: configure TypeScript to cover all files

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>

* build: configure TypeScript not to emit compiled files

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>

---------

Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
Alfi Maulana 2025-06-20 10:59:59 +07:00 committed by GitHub
parent bef022bb70
commit 44bca9b990
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 8 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,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

View File

@ -1,8 +1,7 @@
{
"extends": "@tsconfig/node20",
"include": ["src"],
"exclude": ["**/*.test.ts"],
"compilerOptions": {
"module": "node16"
"module": "node16",
"noEmit": true
}
}