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

Commit

Permalink
fix: release
Browse files Browse the repository at this point in the history
  • Loading branch information
tanguyantoine committed Jan 5, 2019
1 parent 4dc4aad commit 6efc1ad
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,23 @@ action "Filter release tag" {
}

action "Install" {
uses = "actions/npm@e7aaefe"
uses = "docker://node:10"
needs = ["Filter release tag"]
runs = "yarn"
args = "install"
}

action "Test" {
uses = "actions/npm@e7aaefe"
uses = "docker://node:10"
runs = "yarn"
args = "test"
needs = ["Install"]
}

action "Release" {
uses = "actions/npm@e7aaefe"
uses = "docker://node:10"
needs = ["Test", "Install"]
args = "run semantic-release"
runs = "yarn"
args = "semantic-release"
secrets = ["GITHUB_TOKEN", "NPM_TOKEN", "NPM_AUTH_TOKEN"]
}

0 comments on commit 6efc1ad

Please sign in to comment.