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

I ran the following:

- run: cd src/server
- run: yarn build-server

but looks like my yarn script is being run in context of root still, not in context of being in src/server as I have an src/server/package.json where I want to run that command from

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