Skip to content

Commit 6370585

Browse files
author
roman.vasilev
committed
ci: Updated workflow
1 parent b05c228 commit 6370585

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/main.workflow

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
1-
workflow "Build, Test, and Publish" {
1+
workflow "Main Workflow" {
22
on = "push"
33
resolves = ["Publish"]
44
}
55

6-
action "Build" {
6+
action "Install" {
77
uses = "actions/npm@master"
88
args = "install"
99
}
1010

1111
action "Test" {
12-
needs = "Build"
12+
needs = "Install"
13+
uses = "actions/npm@master"
14+
args = "test"
15+
}
16+
17+
action "Build" {
18+
needs = "Test"
1319
uses = "actions/npm@master"
1420
args = "test"
1521
}
1622

1723
# Filter for master branch
1824
action "Master" {
19-
needs = "Test"
25+
needs = "Build"
2026
uses = "actions/bin/filter@master"
2127
args = "branch master"
2228
}

0 commit comments

Comments
 (0)