Skip to content

Commit f99be35

Browse files
committed
deliberately introduce visual change
1 parent a866897 commit f99be35

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

.github/workflows/chromatic.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ jobs:
1515
name: Run Chromatic
1616
runs-on: ubuntu-latest
1717
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
2718
- name: Checkout code
2819
uses: actions/checkout@v4
2920
with:

.github/workflows/pull-request.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,34 @@ jobs:
1010
runs-on: ubuntu-latest
1111
name: ui-changes
1212
outputs:
13-
all_changed_files: ${{ steps.ui-changes.outputs.all_changed_files }}
14-
any_changed: ${{ steps.ui-changes.outputs.any_changed }}
13+
any_modified: ${{ steps.ui-changes.outputs.any_modified }}
14+
all_modified_files: ${{ steps.ui-changes.outputs.all_modified_files }}
1515
steps:
1616
- uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
1919
- name: Get changed files
20-
id: changed-files
20+
id: ui-changes
2121
uses: tj-actions/changed-files@v44
2222
with:
23+
write_output_files: true
2324
files: |
2425
src/**
2526
!src/demo/**
2627
.storybook/**
28+
- name: List all changed files
29+
env:
30+
ALL_MODIFIED_FILES: ${{ steps.ui-changes.outputs.all_modified_files }}
31+
ANY_MODIFIED: ${{ steps.ui-changes.outputs.any_modified }}
32+
run: |
33+
echo "Found ${#ALL_MODIFIED_FILES[@]} changed UI file(s)"
34+
for file in ${ALL_MODIFIED_FILES}; do
35+
echo "$file"
36+
done
2737
2838
chromatic:
2939
name: Run Chromatic
3040
needs: [ui-changes]
31-
if: ${{ needs.ui-changes.outputs.any_changed == 'true' }}
41+
if: ${{ needs.ui-changes.outputs.any_modified == 'true' }}
3242
uses: ./.github/workflows/chromatic.yml
3343
secrets: inherit

src/SplitFlapDisplay/styles.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
box-sizing: border-box;
99

1010
> * {
11+
border-radius: 10px;
12+
1113
&:not(:first-child) {
1214
border-left: var(--border-color) var(--border-width) solid;
1315
}

src/demo/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,5 @@ export default function Demo() {
254254
</div>
255255
);
256256
}
257+
257258
createRoot(document.getElementById('app') as HTMLDivElement).render(<Demo />);

0 commit comments

Comments
 (0)