Caching the asset discovery browser in CI
Covered in this doc
How to cache the
@percy/cli
asset discovery browser in CI
Percy's CLI (@percy/cli
) downloads a specific browser (that we have tested & trust) for asset discovery. A Chromium browser is required for asset discovery. Normally this browser is installed once asset discovery is started.
You can automatically download this browser during the dependency install step (and cache those dependencies) by setting the following env var:
$ export PERCY_POSTINSTALL_BROWSER=true
Updated about 2 years ago