Update main.workflow
This commit is contained in:
parent
f2ee84b6a3
commit
7df0d16131
6
.github/main.workflow
vendored
6
.github/main.workflow
vendored
@ -6,26 +6,21 @@ workflow "Release" {
|
|||||||
action "Trigger GitHub release" {
|
action "Trigger GitHub release" {
|
||||||
uses = "./.github/actions/trigger-github-release/"
|
uses = "./.github/actions/trigger-github-release/"
|
||||||
secrets = ["GITHUB_TOKEN"]
|
secrets = ["GITHUB_TOKEN"]
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
COMMIT_AUTHOR_NAME = "Babel Bot"
|
COMMIT_AUTHOR_NAME = "Babel Bot"
|
||||||
COMMIT_AUTHOR_EMAIL = "babel@hopeinsource.com"
|
COMMIT_AUTHOR_EMAIL = "babel@hopeinsource.com"
|
||||||
}
|
}
|
||||||
|
|
||||||
needs = ["Create release tag"]
|
needs = ["Create release tag"]
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Publish to npm" {
|
action "Publish to npm" {
|
||||||
uses = "docker://node:10"
|
uses = "docker://node:10"
|
||||||
secrets = ["NPM_TOKEN"]
|
secrets = ["NPM_TOKEN"]
|
||||||
|
|
||||||
runs = "make"
|
runs = "make"
|
||||||
args = "publish"
|
args = "publish"
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
CI = "true"
|
CI = "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
needs = ["Create release tag"]
|
needs = ["Create release tag"]
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -33,7 +28,6 @@ action "Publish to npm" {
|
|||||||
# repositories, we won't need this checks anymore.
|
# repositories, we won't need this checks anymore.
|
||||||
action "Create release tag" {
|
action "Create release tag" {
|
||||||
uses = "./.github/actions/create-release-tag"
|
uses = "./.github/actions/create-release-tag"
|
||||||
|
|
||||||
needs = [
|
needs = [
|
||||||
"Is version commit",
|
"Is version commit",
|
||||||
"On master branch",
|
"On master branch",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user