Skip to content

Commit

Permalink
Install deps as part of GitHub Actions workflow
Browse files Browse the repository at this point in the history
..forgot to install dependencies before executing
`$ npm test` which obviously exploded due to the
fact that `eslint` and friends weren't available.
  • Loading branch information
phillipj authored Aug 1, 2019
1 parent d0290c4 commit 930a485
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ workflow "Verify changes on push" {
on = "push"
}

action "Install dependencies" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
args = "install"
}

action "Run all tests" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
args = "test"
Expand Down

0 comments on commit 930a485

Please sign in to comment.