Skip to content

Commit cb91f81

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

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.github/workflows/chromatic.yml

-9
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

+12-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ 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+
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 }}
1516
steps:
1617
- uses: actions/checkout@v4
1718
with:
@@ -21,13 +22,20 @@ jobs:
2122
uses: tj-actions/changed-files@v44
2223
with:
2324
files: |
24-
src/**
25+
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+
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"
2735
2836
chromatic:
2937
name: Run Chromatic
3038
needs: [ui-changes]
31-
if: ${{ needs.ui-changes.outputs.any_changed == 'true' }}
39+
if: ${{ needs.ui-changes.outputs.any_modified == 'true' }}
3240
uses: ./.github/workflows/chromatic.yml
3341
secrets: inherit

src/SplitFlapDisplay/styles.module.scss

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
color: var(--color);
88
box-sizing: border-box;
99

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

0 commit comments

Comments
 (0)