-
-
Save philcon93/31d0998158d4e6de3f59df7f7989ede6 to your computer and use it in GitHub Desktop.
Percy bash script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Build with the build script | |
echo "Building Style Guide..." | |
npm run build | |
# Set the environment to be percy account | |
export PERCY_TOKEN=XXXXX | |
export PERCY_PROJECT=Neto/Style-Guide | |
# Visual regression testing for static Style Guide | |
echo "Start rendering pages and generating visual diffs for Style Guide" | |
percy snapshot dist/ --enable_javascript --ignore_regex "patternSource" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment