Skip to content

Commit

Permalink
ci: Prevent auto-update of visual regression screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
vsgoulart committed Jan 18, 2024
1 parent 5673041 commit f0fc60a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/VISUAL_REGRESSION.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@ jobs:
- name: Run Playwright tests
if: github.ref != 'refs/heads/develop' && github.ref != 'refs/heads/master'
run: npm run test:visual
- name: Overwrite Playwright snapshots
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master'
run: |
npm run test:visual -- --update-snapshots
git config user.name '${{ secrets.BPMN_IO_USERNAME }}'
git config user.email '${{ secrets.BPMN_IO_EMAIL }}'
git add -A
git commit -m "chore(CI): updated snapshots [skip ci]" || echo "No changes to commit"
git push
- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down

0 comments on commit f0fc60a

Please sign in to comment.