Update README.md

This commit is contained in:
Oleksandr Bordun 2022-06-08 09:18:58 +02:00 committed by GitHub
parent d8ce577a6f
commit 9bec063cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.3.0 - uses: borales/actions-yarn@latest
with: with:
cmd: install # will run `yarn install` command cmd: install # will run `yarn install` command
- uses: borales/actions-yarn@v2.3.0 - uses: borales/actions-yarn@latest
with: with:
cmd: build # will run `yarn build` command cmd: build # will run `yarn build` command
- uses: borales/actions-yarn@v2.3.0 - uses: borales/actions-yarn@latest
with: with:
cmd: test # will run `yarn test` command cmd: test # will run `yarn test` command
``` ```
@ -47,7 +47,7 @@ jobs:
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.3.0 - uses: borales/actions-yarn@latest
with: with:
auth-token: ${{ secrets.NPM_TOKEN }} auth-token: ${{ secrets.NPM_TOKEN }}
registry-url: someOtherRegistry.someDomain.net registry-url: someOtherRegistry.someDomain.net