Skip to content

Yarn not run in subfolder context after cd'ing to sub folder #26900

Discussion options

You must be logged in to vote

Each run step gets its own shell, so changing directories doesn’t carry over. Use the working-directory keyword for the step instead:

- run: yarn build-server
  working-directory: src/server

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants