File tree 3 files changed +14
-13
lines changed
3 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 15
15
name : Run Chromatic
16
16
runs-on : ubuntu-latest
17
17
steps :
18
- - name : List all changed files
19
- env :
20
- ALL_CHANGED_FILES : ${{ steps.ui-changes.outputs.all_changed_files }}
21
- ANY_CHANGED : ${{ steps.ui-changes.outputs.any_changed }}
22
- run : |
23
- echo "Found changed ${#ALL_CHANGED_FILES[@]} files"
24
- for file in ${ALL_CHANGED_FILES}; do
25
- echo "$file"
26
- done
27
18
- name : Checkout code
28
19
uses : actions/checkout@v4
29
20
with :
Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
name : ui-changes
12
12
outputs :
13
- all_changed_files : ${{ steps.ui-changes.outputs.all_changed_files }}
14
- any_changed : ${{ steps.ui-changes.outputs.any_changed }}
13
+ all_modified_files : ${{ steps.ui-changes.outputs.all_modified_files }}
14
+ all_modified_files_count : ${{ steps.ui-changes.outputs.all_modified_files_count }}
15
+ any_modified : ${{ steps.ui-changes.outputs.any_modified }}
15
16
steps :
16
17
- uses : actions/checkout@v4
17
18
with :
@@ -21,13 +22,20 @@ jobs:
21
22
uses : tj-actions/changed-files@v44
22
23
with :
23
24
files : |
24
- src/**
25
+ src/*
25
26
!src/demo/**
26
27
.storybook/**
28
+ - name : List all changed files
29
+ env :
30
+ ALL_MODIFIED_FILES : ${{ steps.ui-changes.outputs.all_modified_files }}
31
+ ALL_MODIFIED_FILES_COUNT : ${{ steps.ui-changes.outputs.all_modified_files_count }}
32
+ ANY_MODIFIED : ${{ steps.ui-changes.outputs.any_modified }}
33
+ run : |
34
+ echo "Found ${#ALL_MODIFIED_FILES[@]} changed UI file(s), $ALL_MODIFIED_FILES_COUNT, $ANY_MODIFIED"
27
35
28
36
chromatic :
29
37
name : Run Chromatic
30
38
needs : [ui-changes]
31
- if : ${{ needs.ui-changes.outputs.any_changed == 'true' }}
39
+ if : ${{ needs.ui-changes.outputs.any_modified == 'true' }}
32
40
uses : ./.github/workflows/chromatic.yml
33
41
secrets : inherit
Original file line number Diff line number Diff line change 7
7
color : var (--color );
8
8
box-sizing : border-box ;
9
9
10
+ border-radius : 10px ;
11
+
10
12
> * {
11
13
& :not (:first-child ) {
12
14
border-left : var (--border-color ) var (--border-width ) solid ;
You can’t perform that action at this time.
0 commit comments