1
0
Fork 0

Add Lint action to main.workflow

pull/6/head
Jonathan Clem 2019-05-21 10:36:00 -04:00
parent 20f0d3983a
commit 4fa292edb2
No known key found for this signature in database
GPG Key ID: 48C5B22E9FD6E80F
1 changed files with 7 additions and 1 deletions

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"