mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +00:00
parent
4ac54ebb92
commit
82902559de
4 changed files with 19 additions and 3 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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
This action sets by node environment for use in actions by:
|
This action sets by node environment for use in actions by:
|
||||||
|
|
||||||
- optionally downloading and caching a version of node - npm by version spec and add to PATH
|
- optionally downloading and caching a version of node - npm by version spec and add to PATH
|
||||||
- TODO: registering problem matchers for error output
|
- registering problem matchers for error output
|
||||||
- TODO: configuring authentication for npm packages
|
- TODO: configuring authentication for npm packages
|
||||||
- TODO: configuring proxy if the runner is configured to use a proxy (coming with private runners)
|
- TODO: configuring proxy if the runner is configured to use a proxy (coming with private runners)
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ function run() {
|
||||||
yield installer.getNode(version);
|
yield installer.getNode(version);
|
||||||
}
|
}
|
||||||
// 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);
|
||||||
|
|
|
@ -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