mirror of https://github.com/actions/toolkit
21 lines
322 B
HCL
21 lines
322 B
HCL
workflow "CI" {
|
|
on = "push"
|
|
resolves = ["Format", "Test"]
|
|
}
|
|
|
|
action "Dependencies" {
|
|
uses = "actions/npm@v2.0.0"
|
|
args = "ci"
|
|
}
|
|
|
|
action "Format" {
|
|
needs = "Dependencies"
|
|
uses = "actions/npm@v2.0.0"
|
|
args = "run format"
|
|
}
|
|
|
|
action "Test" {
|
|
needs = "Dependencies"
|
|
uses = "actions/npm@v2.0.0"
|
|
args = "test"
|
|
} |