Add Lint action to main.workflow

This commit is contained in:
Jonathan Clem
2019-05-21 10:36:00 -04:00
parent 20f0d3983a
commit 4fa292edb2

View File

@@ -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"