I want to use Github actions for my lerna.js based monorepo CI/CD process. My repo contains some packages and some services. The ideal flow would be:
(1) for each changed package, bump it’s version and publish packages to an npm registry (this is done using lerna publish)
(2) after all packages have been published start the deployment of the changed services
In order to achieve this I need to have the (2) workflow wait for the (1) workflow to complete
My first try to achieve this was to have workflow (1) to create a new commit, and have workflow (2) trigger on files changed in that commit, however it seems that the workflow will not trigger when I commit from an action.
Is there any way to achieve this using Github actions?