expediagroup/comparadise

A Github Action for using Comparadise with visual regression tests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
workflowThe workflow to run. Supported values: "pr" (default), "merge", "manifest-generate", "manifest-compare", "manifest-merge".nopr
visual-test-commandThe command that runs your visual tests. Can be multiple lines! Required when workflow is pr.no
bucket-nameThe S3 bucket nameyes
commit-hashThe commit hash. Required for pr/merge/manifest-compare workflows.no
diff-idAlternative to commit-hash as a unique identifier for visual tests. GitHub integration will be disabled if diff-id is used.no
use-base-imagesOptionally disables base images from being usednotrue
screenshots-directoryThe directory where your visual tests expect screenshots to benoscreenshots
package-pathsComma separated list of package paths for monorepos. For the manifest-generate workflow, pass the package(s) that matrix job covers (a "chunk"); the paths are sorted and MD5-hashed into a chunk-id used as the per-chunk manifest filename (manifests/{commit-sha}/{chunk-id}.json), so parallel jobs never overwrite one another. Manifest keys are the screenshot paths as they exist on disk (already package-prefixed by the monorepo's directory layout); no prefix is added.no
comparadise-hostThe URL at which you are hosting Comparadiseno
comment-detailsAdditional details you would like to leave on the Comparadise commentno
github-tokenThe GitHub access tokenno${{ github.token }}
resize-widthOptional maximum width to resize images before uploadno
resize-heightOptional maximum height to resize images before uploadno
visual-test-command-fails-on-diffWhether the visual-test-command fails if visual diffs are detectednotrue
update-base-images-on-acceptWhether accepting visual changes in the web app should update base images in S3.notrue

no outputs