Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

Setup Firefox

v1.0.1

Setup Firefox

play

Setup Firefox

Install and setup Firefox

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Firefox

uses: browser-actions/[email protected]

Learn more about this action in browser-actions/setup-firefox

Choose a version

build-test

setup-firefox

This action sets by Firefox for use in actions by:

  • downloading and caching a version of Firefox by version and add to PATH

Usage

See action.yml

Basic usage:

steps:
  - uses: browser-actions/setup-firefox@v1
  - run: firefox --version
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        firefox: [ '84.0', 'latest-beta', 'latest-devedition', 'latest-esr', 'latest' ]
    name: Firefox ${{ matrix.firefox }} sample
    steps:
      - name: Setup firefox
        uses: browser-actions/setup-firefox@v1
        with:
          firefox-version: ${{ matrix.firefox }}
      - run: firefox --version

License

MIT