Add actions ci

This commit is contained in:
Danny McCormick 2019-06-05 15:35:03 -04:00
parent 3b7fa72b60
commit a0d03f592f

27
.github/main.workflow vendored Normal file
View File

@ -0,0 +1,27 @@
workflow "CI" {
on = "push"
resolves = ["Format", "Test"]
}
action "Dependencies" {
uses = "actions/npm@v2.0.0"
args = "ci"
}
action "Build" {
needs = "Dependencies"
uses = "actions/npm@v2.0.0"
args = "run build"
}
action "Format" {
needs = "Dependencies"
uses = "actions/npm@v2.0.0"
args = "run format-check"
}
action "Test" {
needs = "Build"
uses = "actions/npm@v2.0.0"
args = "test"
}