mirror of
https://github.com/threeal/cmake-action.git
synced 2025-07-26 07:44:23 +00:00
build: configure TypeScript not to emit compiled files
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
parent
14703a1253
commit
10c4b27bf7
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
run: pnpm eslint
|
run: pnpm eslint
|
||||||
|
|
||||||
- name: Check Types
|
- name: Check Types
|
||||||
run: pnpm tsc --noEmit
|
run: pnpm tsc
|
||||||
|
|
||||||
- name: Test Action
|
- name: Test Action
|
||||||
run: pnpm test
|
run: pnpm test
|
||||||
|
@ -15,7 +15,7 @@ pre-commit:
|
|||||||
run: pnpm eslint --no-warn-ignored --fix {staged_files}
|
run: pnpm eslint --no-warn-ignored --fix {staged_files}
|
||||||
|
|
||||||
- name: check types
|
- name: check types
|
||||||
run: pnpm tsc --noEmit
|
run: pnpm tsc
|
||||||
glob:
|
glob:
|
||||||
- "*.ts"
|
- "*.ts"
|
||||||
- .npmrc
|
- .npmrc
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "@tsconfig/node20",
|
"extends": "@tsconfig/node20",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "node16"
|
"module": "node16",
|
||||||
|
"noEmit": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user