Skip to content

Set up your GitHub Actions workflow with a specific version of chromium

License

Notifications You must be signed in to change notification settings

msimerson/setup-chrome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript-action status

setup-chrome

This action sets by Google Chrome/Chromium for use in actions by:

  • Install and setup latest Chromium
  • Cross platform runner (macOS, Linux, Windows)
  • Install Google Chrome by channel (stable, beta, dev, and canary)
  • Install by version number (88.0.4324, or 88.0)

Usage

See action.yml

Basic usage:

steps:
  - uses: browser-actions/setup-chrome@latest
  - run: chrome --version

Install Google Chrome Beta

steps:
  - uses: browser-actions/setup-chrome@latest
  - run: chrome --version
    with:
      chrome-version: beta

Note that the installed binary depends on your installation spec. Be sure to pass a full-path to chrome or chromium to your test system if the system expects that chromium exists in PATH such as karma-chromium-runner:

CHROMIUM_BIN=$(which chrome) npm run test

Parameters

  • chrome-version: (Optional) The Google Chrome/Chromium version to be installed. Available value is one of the following:

    • Chromium by a commit position like 848897. You can find commit positions from here.
    • Chromium latest snapshot latest
    • Google Chrome release channels: stable, beta, dev and canary

    Default: latest

License

MIT

About

Set up your GitHub Actions workflow with a specific version of chromium

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%