I was curious about the difficulty of adding a Firebase Plugin.
I’m tempted to just write it up and PR myself, but, first figured I’d ask about interest from other parties? You can use something as simple as:
FROM node:latest
USER node
RUN mkdir /home/node/.npm-global
ENV PATH=/home/node/.npm-global/bin:$PATH
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
RUN npm i npm@latest -g && npm install -g firebase-tools
USER root
then the key command is firebase login:ci
to log in to firebase and get a CI token, and then run firebase deploy --token $FIREBASE_TOKEN
with the FIREBASE_TOKEN being a secrets entry.
Let me know if there’s any interest, or if I should just write something, or whatever is preferred.