setup-node/.github/main.workflow
2019-05-31 12:17:28 -04:00

21 lines
335 B
HCL

workflow "CI" {
on = "push"
resolves = ["Format", "Build"]
}
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"
}