Skip to content

Commit

Permalink
Update Percy action.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveverwer committed Jul 5, 2023
1 parent f0080eb commit 4b2ff8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ jobs:
echo "::set-output name=matching-files::${filecount:-0}"
- name: Run Percy
if: steps.front-end-changes.outputs.matching-files != '0'
run: npx @percy/cli snapshot --verbose ./Tests/AppTests/__Snapshots__/WebpageSnapshotTests
run: |
npm install -g @percy/cli
echo "=== Installed Percy Version ==="
npx percy --version
echo "=== Running Snapshots ==="
npx percy snapshot ./Tests/AppTests/__Snapshots__/WebpageSnapshotTests
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

0 comments on commit 4b2ff8b

Please sign in to comment.