Skip to content

Commit

Permalink
add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmartineau authored Mar 2, 2019
1 parent 43b82b5 commit fc79a0b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
workflow "Release" {
on = "release"
resolves = ["Publish to npm"]
}

action "Publish to npm" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
runs = "publish"
secrets = ["NPM_AUTH_TOKEN"]
}

workflow "Push" {
on = "push"
resolves = ["size"]
}

action "test" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
runs = "test"
}

action "lint" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
runs = "lint"
needs = ["test"]
}

action "size" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
needs = ["lint"]
runs = "size"
}

0 comments on commit fc79a0b

Please sign in to comment.