Visual Regression Test #225
This file contains 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
name: Visual Regression Test | |
on: deployment_status | |
jobs: | |
build: | |
if: github.event.deployment_status.state == 'success' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install | |
run: npm install | |
- name: Percy Test | |
uses: percy/[email protected] | |
with: | |
command: "node test/snapshots.js" | |
verbose: true | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
DEPLOY_URL: ${{ github.event.deployment_status.target_url }} |