mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-06-18 05:52:17 +08:00
Updating readme
This commit is contained in:
parent
9e77a0618b
commit
16098ef84e
@ -1,5 +1,9 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 4.1.0 (26 Nov 2022)
|
||||||
|
|
||||||
|
- Added `dir` option
|
||||||
|
|
||||||
## 4.0.0 (26 Nov 2022)
|
## 4.0.0 (26 Nov 2022)
|
||||||
|
|
||||||
- Migrated to Actions toolkit
|
- Migrated to Actions toolkit
|
||||||
|
|||||||
@ -37,8 +37,16 @@ jobs:
|
|||||||
uses: borales/actions-yarn@v4
|
uses: borales/actions-yarn@v4
|
||||||
with:
|
with:
|
||||||
cmd: test # will run `yarn test` command
|
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
|
> `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).
|
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