diff --git a/CHANGELOG.md b/CHANGELOG.md index acad146..6730b39 100644 --- a/CHANGELOG.md +++ b/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 diff --git a/README.md b/README.md index 1c1c475..101e209 100644 --- a/README.md +++ b/README.md @@ -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).