actions-yarn icon indicating copy to clipboard operation
actions-yarn copied to clipboard

Run in specific folder

Open awalshy opened this issue 4 years ago • 1 comments

Run the yarn command in a workspace's folder

Here is a usecase example. Repo Architecture:

.
frontend
_ package.json
backend

Would run the yarn command in the selected folder (frontend|backend)

- name: Install dependencies
      uses: borales/[email protected]
      with:
        cmd: install
        dir: frontend

awalshy avatar Sep 04 '20 21:09 awalshy

Can use:

cmd: --cwd frontend install

MananTaneja avatar Oct 31 '21 22:10 MananTaneja

https://github.com/Borales/actions-yarn/releases/tag/v4.1.0 added

Borales avatar Nov 26 '22 22:11 Borales