workflow "CI" { on = "push" resolves = ["Format", "Test"] } 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" } action "Test" { needs = "Build" uses = "actions/npm@v2.0.0" args = "test" }