https://github.com/takeshape/typescript-jest-junit-reporter
  
  
    Produce Jest JUnit-style XML output from TypeScript compiler messages. 
    https://github.com/takeshape/typescript-jest-junit-reporter
  
        Last synced: 8 months ago 
        JSON representation
    
Produce Jest JUnit-style XML output from TypeScript compiler messages.
- Host: GitHub
 - URL: https://github.com/takeshape/typescript-jest-junit-reporter
 - Owner: takeshape
 - License: mit
 - Created: 2024-05-06T15:03:38.000Z (over 1 year ago)
 - Default Branch: main
 - Last Pushed: 2024-05-06T18:17:46.000Z (over 1 year ago)
 - Last Synced: 2025-02-14T22:31:42.411Z (9 months ago)
 - Language: JavaScript
 - Size: 382 KB
 - Stars: 0
 - Watchers: 1
 - Forks: 0
 - Open Issues: 0
 - 
            Metadata Files:
            
- Readme: README.md
 - License: LICENSE
 
 
Awesome Lists containing this project
README
          # typescript-jest-junit-reporter
Produce Jest JUnit-style XML output from TypeScript compiler messages.
Based on https://github.com/glenjamin/typescript-xunit-xml.
## Installation
```sh
npm install --save-dev @takeshape/typescript-jest-junit-reporter
```
## Usage
### Basic shell usage
```sh
tsc | typescript-jest-junit-reporter | tee junit.xml
```
### GitHub Actions - a package.json script in a monorepo
```json
{
  "typecheck": "tsc --noEmit --pretty false | typescript-jest-junit-reporter | tee \"${GITHUB_WORKSPACE}/typecheck-results/${npm_package_name#*\\/}/typescript-results.xml\""
}
```