Skip to content

Commit

Permalink
Updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Borales committed Nov 26, 2022
1 parent 9e77a06 commit 16098ef
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# CHANGELOG

## 4.1.0 (26 Nov 2022)

- Added `dir` option

## 4.0.0 (26 Nov 2022)

- Migrated to Actions toolkit
Expand Down
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -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).

0 comments on commit 16098ef

Please sign in to comment.