Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

vimtor/action-setup-firebase

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

🔥 setup-firebase

Setup firebase-tools CLI for multiple steps

GitHub Workflow Status GitHub release (latest by date) GitHub

🧠 Why

There is an excellent action already: firebase-action, but it forces you to run a command in order to work.

With this one, after running the action you can use the firebase-tools CLI from anywhere: npm script, shell...

🚀 Usage

Simply add the action to get access to the firebase CLI.

jobs:
  setup-firebase:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1 # This is optional on linux and macOS
      - uses: pocket-apps/action-setup-firebase@v2
        with:
          firebase-token: YOUR_TOKEN

By default, it will try to download the package from npm, if it fails because npm is not installed, or it doesn't have sufficient permissions, the action will fallback to download it using curl.

If you are running it on Windows you will need to use actions/setup-node before in order to work.

⚙ Inputs

Name Description Required
firebase-token Firebase token you can get by running firebase login:ci

👋 Support

If you find our work useful, you can support our work and win a burrito 🌯