I have a project that has two directories in it; each one essentially a node project. I want to run my unit tests for project A from Circle CI when a PR opens. From what I've read, the circle.yml file has to live in the root of the project. What I want to do is just change directory first, and then do all of the normal circle actions from project A directory.
So what ended up working for me was adding
general:
build_dir: project-a
to my circle file. That was the only change I needed to make.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With