Add tsc problem matcher

This commit is contained in:
Danny McCormick 2019-06-07 14:59:46 -04:00
parent 3b7fa72b60
commit 652c2bda0c
2 changed files with 17 additions and 1 deletions

16
.github/tsc.json vendored Normal file
View 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
}
]
}
]
}

View file

@ -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);
}