Supabase Storage から Local の管理へ切り替え #384
Workflow file for this run
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Chromatic Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| actions: write | |
| contents: read | |
| jobs: | |
| changed-files: | |
| runs-on: ubuntu-latest | |
| name: changed-files | |
| 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: List all changed files | |
| env: | |
| all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }} | |
| any_changed: ${{ steps.changed-files.outputs.any_changed }} | |
| run: | | |
| for file in ${all_changed_files}; do | |
| echo "$file was changed" | |
| echo Did any files change: ${any_changed} | |
| done | |
| - name: Get changed files | |
| id: changed-files | |
| uses: tj-actions/changed-files@v44 | |
| with: | |
| files: ./packages/ui/** | |
| chromatic: | |
| name: Run visual tests | |
| needs: [changed-files] | |
| if: ${{ needs.changed-files.outputs.any_changed == 'true' }} | |
| uses: ./.github/workflows/chromatic.yml | |
| secrets: inherit |