vimtor / action-setup-firebase

πŸ”₯ Setup firebase-tools CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ”₯ 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 🌯

About

πŸ”₯ Setup firebase-tools CLI

License:MIT License


Languages

Language:TypeScript 100.0%