Skip to content

Commit 31698ee

Browse files
committed
add "install and test" workflow
1 parent a73545f commit 31698ee

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/main.workflow

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
workflow "Install & Test" {
2+
on = "push"
3+
resolves = ["npm test"]
4+
}
5+
6+
action "npm install" {
7+
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
8+
runs = "install"
9+
}
10+
11+
action "npm test" {
12+
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
13+
runs = "test"
14+
needs = ["npm install"]
15+
}

0 commit comments

Comments
 (0)