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