2019-04-19 19:23:03 +00:00
|
|
|
workflow "CI" {
|
|
|
|
on = "push"
|
2019-04-19 21:00:31 +00:00
|
|
|
resolves = ["Format", "Test"]
|
2019-04-19 19:23:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
action "Dependencies" {
|
|
|
|
uses = "actions/npm@v2.0.0"
|
2019-04-19 19:46:22 +00:00
|
|
|
args = "ci"
|
2019-04-19 19:35:44 +00:00
|
|
|
}
|
|
|
|
|
2019-04-20 15:07:55 +00:00
|
|
|
action "Bootstrap" {
|
2019-04-20 15:01:43 +00:00
|
|
|
needs = "Dependencies"
|
2019-04-20 15:00:36 +00:00
|
|
|
uses = "actions/npm@v2.0.0"
|
2019-04-20 15:07:55 +00:00
|
|
|
args = "run bootstrap"
|
|
|
|
}
|
|
|
|
|
|
|
|
action "Compile" {
|
|
|
|
needs = "Bootstrap"
|
|
|
|
uses = "actions/npm@v2.0.0"
|
2019-04-20 15:01:43 +00:00
|
|
|
args = "run build"
|
2019-04-20 15:00:36 +00:00
|
|
|
}
|
|
|
|
|
2019-04-19 19:35:44 +00:00
|
|
|
action "Format" {
|
2019-04-20 15:07:55 +00:00
|
|
|
needs = "Dependencies"
|
2019-04-19 19:35:44 +00:00
|
|
|
uses = "actions/npm@v2.0.0"
|
|
|
|
args = "run format"
|
|
|
|
}
|
|
|
|
|
2019-04-19 19:23:03 +00:00
|
|
|
action "Test" {
|
2019-04-20 15:00:36 +00:00
|
|
|
needs = "Compile"
|
2019-04-19 19:23:03 +00:00
|
|
|
uses = "actions/npm@v2.0.0"
|
|
|
|
args = "test"
|
|
|
|
}
|