Updated readme examples to latest version

This commit is contained in:
Tomasz Sabała 2021-06-18 15:00:28 +02:00
parent 6207ca676f
commit 5b0b86cdda
No known key found for this signature in database
GPG Key ID: D9DC9719C1AE8DED

View File

@ -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