Skip to content

refact(backend-lifespan): improving type checking and incorporating lifespan as an alternative to on_event #141

refact(backend-lifespan): improving type checking and incorporating lifespan as an alternative to on_event

refact(backend-lifespan): improving type checking and incorporating lifespan as an alternative to on_event #141

name: Chromatic Deploy
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: write
contents: read
pull-requests: write
jobs:
changed-files:
runs-on: ubuntu-latest
name: Check UI Changes
outputs:
all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
any_changed: ${{ steps.changed-files.outputs.any_changed }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: |
dashboard/**
chromatic:
name: Visual tests
needs: [ changed-files ]
if: ${{ needs.changed-files.outputs.any_changed == 'true' }}
uses: ./.github/workflows/chromatic.yml
secrets: inherit