When you want to call command on particular workspace you should use package name which is set in its package.json file “name”. In your case it should be:
yarn workspace @gemini/common build
I have tried changing the name to package/common or @gemini/common but without luck.
You should not see error error Unknown workspace "@gemini/common".
Maybe some other error you are getting?