Skip to content

Commit

Permalink
deliberately introduce visual change
Browse files Browse the repository at this point in the history
  • Loading branch information
robonyong committed Aug 15, 2024
1 parent a866897 commit 49b06fa
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ jobs:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.ui-changes.outputs.all_changed_files }}
ANY_CHANGED: ${{ steps.ui-changes.outputs.any_changed }}
run: |
echo "Found changed ${#ALL_CHANGED_FILES[@]} files"
for file in ${ALL_CHANGED_FILES}; do
echo "$file"
done
- name: Checkout code
uses: actions/checkout@v4
with:
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
runs-on: ubuntu-latest
name: ui-changes
outputs:
all_changed_files: ${{ steps.ui-changes.outputs.all_changed_files }}
any_changed: ${{ steps.ui-changes.outputs.any_changed }}
any_modified: ${{ steps.ui-changes.outputs.any_modified }}
all_modified_files_count: ${{ steps.ui-changes.outputs.all_modified_files_count }}
all_modified_files: ${{ steps.ui-changes.outputs.all_modified_files }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -24,10 +25,19 @@ jobs:
src/**
!src/demo/**
.storybook/**
- name: List all changed files
env:
ALL_MODIFIED_FILES: ${{ steps.ui-changes.outputs.all_modified_files }}
ALL_MODIFIED_FILES_COUNT: ${{ steps.ui-changes.outputs.all_modified_files_count }}
ANY_MODIFIED: ${{ steps.ui-changes.outputs.any_modified }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
chromatic:
name: Run Chromatic
needs: [ui-changes]
if: ${{ needs.ui-changes.outputs.any_changed == 'true' }}
if: ${{ needs.ui-changes.outputs.any_modified == 'true' }}
uses: ./.github/workflows/chromatic.yml
secrets: inherit
2 changes: 2 additions & 0 deletions src/SplitFlapDisplay/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
color: var(--color);
box-sizing: border-box;

border-radius: 10px;

> * {
&:not(:first-child) {
border-left: var(--border-color) var(--border-width) solid;
Expand Down

0 comments on commit 49b06fa

Please sign in to comment.