Skip to content

Commit

Permalink
Add github workflow for linting/building (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
2color authored Mar 28, 2019
1 parent e9d706a commit 368bb23
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
workflow "Lint and build" {
on = "push"
resolves = ["install", "lint", "build"]
}

action "install" {
uses = "actions/npm@master"
args = "install"
}

action "lint" {
needs = "install"
uses = "actions/npm@master"
args = "run lint"
}

action "build" {
needs = "install"
uses = "actions/npm@master"
args = "run build"
}

0 comments on commit 368bb23

Please sign in to comment.