How to integrate firebase functions into devops pipeline
I found the solution.

As build artifact you need to publish, firebase.json, .firebaserc and whole functions folder including package.json (without node_modules)

Then in release using sudo firebase deploy --token $(firebase-token) --project $(firebase-project) --only functions --force