1
0
Fork 0
toolkit/.github/main.workflow

33 lines
516 B
HCL

workflow "CI" {
on = "push"
resolves = ["Format", "Test"]
}
action "Dependencies" {
uses = "actions/npm@v2.0.0"
args = "ci"
}
action "Bootstrap" {
needs = "Dependencies"
uses = "actions/npm@v2.0.0"
args = "run bootstrap"
}
action "Compile" {
needs = "Bootstrap"
uses = "actions/npm@v2.0.0"
args = "run build"
}
action "Format" {
needs = "Dependencies"
uses = "actions/npm@v2.0.0"
args = "run format"
}
action "Test" {
needs = "Compile"
uses = "actions/npm@v2.0.0"
args = "test"
}