How to deploy workers in a monorepo using github actions?

I'm building a monorepo with one frontend and two workers. Using a yaml file, suggested in the cloudflare documentation to run github actions, what should I adjust for the deployment to be successful?

My current structure:
/packages
/frontend
/worker1
/worker2
/shared

Both worker1 and worker2 have imports from shared folder (import from @project/shared)
Was this page helpful?