Skip to content

feat: add sideeffects; part 5 #5081

feat: add sideeffects; part 5

feat: add sideeffects; part 5 #5081

Workflow file for this run

name: Screenshots
on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: run screenshots tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: true
- name: Checkout LFS objects
run: git lfs checkout
- name: Install dependencies
run: yarn
- name: Build storybook
run: yarn build-storybook-from-dist
- name: Run screenshots tests
run: yarn test:screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: diffs
path: packages/**/__diff_output__/*
if-no-files-found: ignore