Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Update main.workflow (#213)
Browse files Browse the repository at this point in the history
* Update main.workflow

* Update main.workflow

* workflow

* on release
  • Loading branch information
tanguyantoine authored Dec 29, 2018
1 parent 84af3c0 commit 7aec976
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
workflow "Build, Test, and Publish" {
on = "push"
on = "release"
resolves = [
"Publish",
"GitHub Action for npm",
"Filter release tag",
"Install",
]
}

action "Build" {
uses = "actions/npm@master"

action "Filter release tag" {
uses = "actions/bin/filter@b2bea07"
args = "tag release-*"
}

action "Install" {
uses = "actions/npm@e7aaefe"
needs = ["Filter release tag"]
args = "install"
}

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

action "GitHub Action for npm" {
uses = "actions/npm@e7aaefe"
args = "install"
}//action "Publish" {
// needs = "Test"
// uses = "actions/npm@master"
// args = "publish --access public"
// secrets = ["NPM_AUTH_TOKEN"]
//}

0 comments on commit 7aec976

Please sign in to comment.