When deploying a Node.js function using the firebase CLI are the node_packages
uploaded or are they installed in the cloud based on the package.json
(or lock
file)?
I am trying to set up a CI flow in GitHub actions using the CLI and the functions doesn't seem to find the dependencies. Do I perhaps need to use the predeploy
option in firebase.json
to install the dependencies using npm ci
?
Thanks!