Skip to content

Commit

Permalink
CI: Build and publish on push
Browse files Browse the repository at this point in the history
  • Loading branch information
meafmira authored Apr 4, 2019
1 parent 22557ab commit 59ee73f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
workflow "Build and Publish" {
resolves = ["GitHub Action for npm-1"]
on = "push"
}

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

action "GitHub Action for npm" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
needs = ["Install"]
args = "build"
}

action "GitHub Action for npm-1" {
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
needs = ["GitHub Action for npm"]
args = "publish"
secrets = ["NPM_AUTH_TOKEN"]
}

0 comments on commit 59ee73f

Please sign in to comment.