Merge pull request #4 from Embraser01/patch-1

Fix action preview (capitalize Borales)
This commit is contained in:
Oleksandr Bordun 2019-04-21 14:47:33 +02:00 committed by GitHub
commit ed3b33b7fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,19 +15,19 @@ workflow "Build, Test, and Publish" {
} }
action "Build" { action "Build" {
uses = "borales/actions-yarn@master" uses = "Borales/actions-yarn@master"
args = "install" args = "install"
} }
action "Test" { action "Test" {
needs = "Build" needs = "Build"
uses = "borales/actions-yarn@master" uses = "Borales/actions-yarn@master"
args = "test" args = "test"
} }
action "Publish" { action "Publish" {
needs = "Test" needs = "Test"
uses = "borales/actions-yarn@master" uses = "Borales/actions-yarn@master"
args = "publish --access public" args = "publish --access public"
secrets = ["NPM_AUTH_TOKEN"] secrets = ["NPM_AUTH_TOKEN"]
} }
@ -48,7 +48,7 @@ To authenticate with, and publish to, a registry other than `registry.npmjs.org`
```hcl ```hcl
action "Publish" { action "Publish" {
uses = "borales/actions-yarn@master" uses = "Borales/actions-yarn@master"
args = "publish --access public" args = "publish --access public"
env = { env = {
NPM_REGISTRY_URL = "someOtherRegistry.someDomain.net" NPM_REGISTRY_URL = "someOtherRegistry.someDomain.net"