mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-04-14 18:42:15 +08:00
Merge pull request #4 from Embraser01/patch-1
Fix action preview (capitalize Borales)
This commit is contained in:
commit
ed3b33b7fe
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user