mirror of
				https://github.com/actions/setup-node.git
				synced 2025-10-31 23:43:33 +00:00 
			
		
		
		
	Add tsc problem matcher
This commit is contained in:
		
							parent
							
								
									3b7fa72b60
								
							
						
					
					
						commit
						652c2bda0c
					
				
							
								
								
									
										16
									
								
								.github/tsc.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.github/tsc.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | ||||
| { | ||||
|     "problemMatcher": [ | ||||
|         { | ||||
|             "owner": "tsc", | ||||
|             "pattern": [ | ||||
|                 { | ||||
|                     "regexp": "/^([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(\\d+)\\s+(.*)$/", | ||||
|                     "file": 1, | ||||
|                     "location": 2, | ||||
|                     "code": 3, | ||||
|                     "message": 4 | ||||
|                 } | ||||
|             ] | ||||
|         } | ||||
|     ] | ||||
| } | ||||
| @ -14,7 +14,7 @@ async function run() { | ||||
|     } | ||||
| 
 | ||||
|     // TODO: setup proxy from runner proxy config
 | ||||
|     // TODO: problem matchers registered
 | ||||
|     console.log('##[add-matcher].github/tsc.json'); | ||||
|   } catch (error) { | ||||
|     core.setFailed(error.message); | ||||
|   } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user