Skip to content
Permalink
Browse files

Update dockerimage.yml

  • Loading branch information...
eko committed Aug 22, 2019
1 parent 38da86f commit 0b1c6bcccc64e177dbbad089cf283a19ca6ab9ce
Showing with 29 additions and 0 deletions.
  1. +29 −0 .github/main.workflow
@@ -0,0 +1,29 @@
workflow "Build, Test, and Publish" {
on = "push"
resolves = ["Publish"]
}

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

action "Test" {
needs = "Build"
uses = "actions/npm@master"
args = "test"
}

# Filter for master branch
action "Master" {
needs = "Test"
uses = "actions/bin/filter@master"
args = "branch master"
}

action "Publish" {
needs = "Master"
uses = "actions/npm@master"
args = "publish --access public"
secrets = ["NPM_AUTH_TOKEN"]
}

0 comments on commit 0b1c6bc

Please sign in to comment.
You can’t perform that action at this time.