Skip to content

Commit

Permalink
feat: add archiving diff_output workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mimokmt committed Feb 15, 2024
1 parent 9a6ff6c commit e14d644
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,20 @@ jobs:
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:127.0.0.1:6006 && yarn test-storybook"
- name: Check __diff_output__ existence
id: check_diff_output_dir
if: ${{ always() }}
uses: andstor/file-existence-action@v1
with:
files: '__diff_output__/'

- name: Archive image snapshot diffs
uses: actions/upload-artifact@v4
if: steps.check_diff_output_dir.outputs.files_exists == 'true' && ${{ always() }}
with:
name: upload_diff_output
path: __diff_output__/

lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit e14d644

Please sign in to comment.