Replies: 1 comment 2 replies
-
You can set
See #2374 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create a monorepo with yarn v2 workspace, and then I want publish each packages inside gitlab packages registry to avoid build each time a packages if there is already the same version in the registry. My project example is public on gitlab: https://gitlab.com/p.nompleggio/monorepov3
With this configuration all works fine, these two lines in
.gitlab-ci.yml
:All packages are build and published inside the registry so it's all right.
But now I'm trying to build only changed package inside the workspace and not only all packages. So I've tried just for understanding how all works to mantain this package inside registry
@monorepov3/[email protected]
and edit the .gitlab-ci.yml in this way:So I have tried to build only the
@monorepov3/backoffice-app
package and I wanna retrieve@monorepov3/common
dependices inside@monorepov3/backoffice-app
from the registry, but when the build command start doesn't work because doesn't find the@monorepov3/common
locally and doesn't look in the registry.Can anyone tell me how can I achieve this? How can I build with the package inside the registry for dependencies inside the ci/cd pipeline?
Another question is how can I build only the packages that are changed?
Beta Was this translation helpful? Give feedback.
All reactions