Skip to content

Commit c2f6f93

Browse files
committed
Remove directory before generating screenshots
1 parent b6d6406 commit c2f6f93

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/update-screenshots.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ jobs:
4646
- name: Install Playwright Browsers
4747
run: npx playwright install chromium firefox
4848
- name: Update screenshots
49-
run: node --run visual:update
49+
run: |
50+
rmdir test/visual/__screenshots__
51+
node --run visual:update
5052
- name: Push new screenshots
5153
run: |
5254
git config --global user.name "${{ env.AUTHOR_NAME }}"

0 commit comments

Comments
 (0)