2019-04-19 19:23:03 +00:00
|
|
|
workflow "CI" {
|
|
|
|
on = "push"
|
2019-05-21 14:36:00 +00:00
|
|
|
resolves = ["Format", "Lint", "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"
|
2019-05-20 15:21:45 +00:00
|
|
|
args = "run format-check"
|
2019-04-19 19:35:44 +00:00
|
|
|
}
|
|
|
|
|
2019-05-21 14:36:00 +00:00
|
|
|
action "Lint" {
|
|
|
|
needs = "Dependencies"
|
|
|
|
uses = "actions/npm@v2.0.0"
|
|
|
|
args = "run lint"
|
|
|
|
}
|
|
|
|
|
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"
|
|
|
|
}
|