mirror of
https://github.com/actions/setup-node.git
synced 2025-04-24 04:20:49 +00:00
Add tsc problem matcher
This commit is contained in:
parent
3b7fa72b60
commit
652c2bda0c
2 changed files with 17 additions and 1 deletions
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: setup proxy from runner proxy config
|
||||||
// TODO: problem matchers registered
|
console.log('##[add-matcher].github/tsc.json');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.setFailed(error.message);
|
core.setFailed(error.message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue