Skip to content

Commit

Permalink
Update main.workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rmariuzzo authored Feb 9, 2019
1 parent 789dafa commit 79b5435
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
workflow "New workflow" {
on = "push"
resolves = ["GitHub Action for npm"]
resolves = ["Run Tests"]
}

action "GitHub Action for npm" {
action "Install Dependencies" {
uses = "actions/npm@master"
runs = "npm"
args = "install"
}

action "Run Tests" {
uses = "actions/npm@master"
runs = "npm"
args = "test"
needs = ["Install Dependencies"]
}

0 comments on commit 79b5435

Please sign in to comment.