mirror of
https://github.com/threeal/cmake-action.git
synced 2025-07-04 14:11:21 +00:00
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
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:
parent
bef022bb70
commit
44bca9b990
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,14 +15,12 @@ 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:
|
||||||
- src/*.ts
|
- "*.ts"
|
||||||
- .npmrc
|
- .npmrc
|
||||||
- pnpm-lock.yaml
|
- pnpm-lock.yaml
|
||||||
- tsconfig.json
|
- tsconfig.json
|
||||||
exclude:
|
|
||||||
- src/*.test.ts
|
|
||||||
|
|
||||||
- name: build action
|
- name: build action
|
||||||
run: pnpm rollup -c
|
run: pnpm rollup -c
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "@tsconfig/node20",
|
"extends": "@tsconfig/node20",
|
||||||
"include": ["src"],
|
|
||||||
"exclude": ["**/*.test.ts"],
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "node16"
|
"module": "node16",
|
||||||
|
"noEmit": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user