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 4, 2023
1 parent dd002b6 commit 91d74cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ 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
uses: actions/setup-node@v3
with:
node-version: '14'
run: npm install --save-dev @percy/cli
run: npx percy snapshot ./Tests/AppTests/__Snapshots__/WebpageSnapshotTests
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

0 comments on commit 91d74cc

Please sign in to comment.