Update main.workflow

This commit is contained in:
Mikeal Rogers 2019-01-26 19:54:51 -08:00 committed by GitHub
parent 0030d38b65
commit c617dee618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 8 deletions

11
.github/main.workflow vendored
View File

@ -1,6 +1,6 @@
workflow "Build and Publish" {
on = "push"
resolves = "NPM Publish"
resolves = ["Publish"]
}
action "Shell Lint" {
@ -8,13 +8,8 @@ action "Shell Lint" {
args = "entrypoint.sh"
}
action "Docker Lint" {
uses = "docker://replicated/dockerfilelint"
args = ["Dockerfile"]
}
action "Build" {
needs = ["Shell Lint", "Docker Lint"]
needs = ["Shell Lint"]
uses = "actions/docker/cli@master"
args = "build -t npm ."
}
@ -31,7 +26,7 @@ action "Publish Filter" {
args = "branch master"
}
action "NPM Publish" {
action "Publish" {
needs = "Publish Filter"
uses = "mikeal/merge-release@master"
secrets = ["GITHUB_TOKEN", "NPM_AUTH_TOKEN"]