Skip to content

Commit

Permalink
Update main.workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eaviles authored Jun 19, 2019
1 parent 14d49d7 commit e772433
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ workflow "Build, lint and test" {
}

action "Build" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
runs = "install"
uses = "actions/npm@master"
args = "install"
}

action "Lint" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
runs = "run eslint"
uses = "actions/npm@master"
needs = ["Build"]
args = "run eslint"
}

action "Test" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
runs = "test"
uses = "actions/npm@master"
needs = ["Lint"]
args = "test"
secrets = ["CODECOV_TOKEN"]
}

0 comments on commit e772433

Please sign in to comment.