mirror of https://github.com/actions/toolkit
Add Lint action to main.workflow
parent
20f0d3983a
commit
4fa292edb2
|
@ -1,6 +1,6 @@
|
|||
workflow "CI" {
|
||||
on = "push"
|
||||
resolves = ["Format", "Test"]
|
||||
resolves = ["Format", "Lint", "Test"]
|
||||
}
|
||||
|
||||
action "Dependencies" {
|
||||
|
@ -26,6 +26,12 @@ action "Format" {
|
|||
args = "run format-check"
|
||||
}
|
||||
|
||||
action "Lint" {
|
||||
needs = "Dependencies"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "run lint"
|
||||
}
|
||||
|
||||
action "Test" {
|
||||
needs = "Compile"
|
||||
uses = "actions/npm@v2.0.0"
|
||||
|
|
Loading…
Reference in New Issue