Updating readme

This commit is contained in:
Borales 2022-11-26 23:40:08 +01:00
parent 9e77a0618b
commit 16098ef84e
No known key found for this signature in database
2 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,9 @@
# CHANGELOG
## 4.1.0 (26 Nov 2022)
- Added `dir` option
## 4.0.0 (26 Nov 2022)
- Migrated to Actions toolkit

View File

@ -37,8 +37,16 @@ jobs:
uses: borales/actions-yarn@v4
with:
cmd: test # will run `yarn test` command
- name: Run test in sub-folder
uses: borales/actions-yarn@v4
with:
cmd: test
dir: 'frontend' # will run `yarn test` in `frontend` sub folder
```
> `cmd` value will be used as a command for Yarn
>
> `dir` value will be used for Yarn `cwd`
More information about [private registry setup](https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#use-private-packages).