I'm getting some errors deploying v2 functions via Firebase deploy, it seems is because you are using as Firebase dependencies an older firebase-functions without total compatibility for v2.
In my local code I have no problems with it using the following dependencies (last version):
"firebase-admin": "^11.10.1",
"firebase-functions": "^4.4.1",
And for devDependencies I have:
"firebase-functions-test": "^3.1.0"
For engine in that package.json, I have Node 16 (I think the minium is Node 14 but I'm not sure)
Can you update it for the pipeline?
Thank you