mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-04-15 02:52:16 +08:00
Updated readme examples to latest version
This commit is contained in:
parent
6207ca676f
commit
5b0b86cdda
@ -20,13 +20,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: borales/actions-yarn@v2.0.0
|
- uses: borales/actions-yarn@v2.3.0
|
||||||
with:
|
with:
|
||||||
cmd: install # will run `yarn install` command
|
cmd: install # will run `yarn install` command
|
||||||
- uses: borales/actions-yarn@v2.0.0
|
- uses: borales/actions-yarn@v2.3.0
|
||||||
with:
|
with:
|
||||||
cmd: build # will run `yarn build` command
|
cmd: build # will run `yarn build` command
|
||||||
- uses: borales/actions-yarn@v2.0.0
|
- uses: borales/actions-yarn@v2.3.0
|
||||||
with:
|
with:
|
||||||
cmd: test # will run `yarn test` command
|
cmd: test # will run `yarn test` command
|
||||||
```
|
```
|
||||||
@ -49,7 +49,7 @@ _AUTH_TOKEN` - **Optional**. The token to use for authentication with the npm re
|
|||||||
To authenticate with, and publish to, a registry other than `registry.npmjs.org`:
|
To authenticate with, and publish to, a registry other than `registry.npmjs.org`:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- uses: borales/actions-yarn@v2.0.0
|
- uses: borales/actions-yarn@v2.3.0
|
||||||
with:
|
with:
|
||||||
auth-token: ${{ secrets.NPM_TOKEN }}
|
auth-token: ${{ secrets.NPM_TOKEN }}
|
||||||
registry-url: someOtherRegistry.someDomain.net
|
registry-url: someOtherRegistry.someDomain.net
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user