I solved this by moving the workflows dependency from devDependencies to dependencies in the package.json of the project. After looking at the source code, I noticed it automatically gets the dependencies from there.
g
great-sunset-355
01/22/2023, 4:54 PM
Just a word of caution, CallbackFunction is great for small functions but once you need more complicated dependencies eg.
zod
it breaks the serialization so we ended up packaging functions separately and just uploading the archive.