Skip to content

Commit

Permalink
Try a basic GitHub Actions workflow
Browse files Browse the repository at this point in the history
As a means of seeing how GitHub Actions
work compared to Travis CI, these changes creates
a so-called workflow that runs `$ npm test`
upon every `$ git push` to the repository.
  • Loading branch information
phillipj authored Aug 1, 2019
1 parent bb700c5 commit d0290c4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
workflow "Verify changes on push" {
resolves = ["Run all tests"]
on = "push"
}

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

0 comments on commit d0290c4

Please sign in to comment.