Yarn workspaces makes it hard to test that dependencies in package json are correctly defined.
Obvious method is to create a docker that installs all newest stuff and runs the cli commands to verify that they work.
Linting rules might also do the trick for this particular problem.