kamiazya / kamiazya/web-csv-toolbox
Enable Typecheck on CI
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
### Problem Details
In Vitest version 1.x, running the following command for typecheck tests causes the process to hang, preventing the tests from completing successfully:
```bash
vitest --typecheck
```
As a result, typecheck tests are currently skipped in the CI environment.
### Local Confirmation
Testing with Vitest version 2.x and above locally confirms that the typecheck tests run successfully without hanging.
### Proposed Solution
I propose adding a test:type job to the scripts section of the package.json, which will run typecheck tests using Vitest 2.x and above in the CI environment.
```json
"scripts": {
"test:type": "vitest --typecheck.only"
}
```
This will ensure that typecheck tests are automatically run in the CI environment, helping to maintain type safety.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.