Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added target dependencies to test scripts in ghost/core (#21332)
no issue - The `test:*` commands in `ghost/core` are all implicitly dependent on the TS packages in the whole monorepo being built, but we hadn't explicitly declared this dependency to NX. - Now if you run `yarn nx run ghost:test:e2e` (or any other `test:*` commands in ghost), NX will know that it needs to rebuild the TS packages, unless they are cached and haven't changed. - With this, you should be able to directly clone the repo and run `yarn nx run ghost:test:e2e` to run e2e tests, without running `yarn dev` or `yarn nx run-many -t build:ts` first. - This is especially useful for getting tests to run properly in docker
- Loading branch information