Skip to content

Commit 16098ef

Browse files
committed
Updating readme
1 parent 9e77a06 commit 16098ef

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 4.1.0 (26 Nov 2022)
4+
5+
- Added `dir` option
6+
37
## 4.0.0 (26 Nov 2022)
48

59
- Migrated to Actions toolkit

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,16 @@ jobs:
3737
uses: borales/actions-yarn@v4
3838
with:
3939
cmd: test # will run `yarn test` command
40+
41+
- name: Run test in sub-folder
42+
uses: borales/actions-yarn@v4
43+
with:
44+
cmd: test
45+
dir: 'frontend' # will run `yarn test` in `frontend` sub folder
4046
```
4147
4248
> `cmd` value will be used as a command for Yarn
49+
>
50+
> `dir` value will be used for Yarn `cwd`
4351

4452
More information about [private registry setup](https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#use-private-packages).

0 commit comments

Comments
 (0)