mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-06-14 11:02:48 +08:00
Updating readme
This commit is contained in:
parent
9e77a0618b
commit
16098ef84e
@ -1,5 +1,9 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 4.1.0 (26 Nov 2022)
|
||||
|
||||
- Added `dir` option
|
||||
|
||||
## 4.0.0 (26 Nov 2022)
|
||||
|
||||
- Migrated to Actions toolkit
|
||||
|
||||
@ -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).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user