From ae03f42b4b07a9132c0913de47063cba99a7ba91 Mon Sep 17 00:00:00 2001 From: Robin Yang Date: Wed, 14 Aug 2024 12:50:55 -0700 Subject: [PATCH] deliberately introduce visual change --- .github/workflows/chromatic.yml | 9 --------- .github/workflows/pull-request.yml | 8 +++++++- src/SplitFlapDisplay/styles.module.scss | 2 ++ 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 410eb7f..bd2c0bd 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -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: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a022568..20ed167 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -21,9 +21,15 @@ jobs: uses: tj-actions/changed-files@v44 with: files: | - src/** + src/* !src/demo/** .storybook/** + - 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 ${#ALL_CHANGED_FILES[@]} changed UI file(s), $ANY_CHANGED" chromatic: name: Run Chromatic diff --git a/src/SplitFlapDisplay/styles.module.scss b/src/SplitFlapDisplay/styles.module.scss index 8e2a0aa..ce3b828 100644 --- a/src/SplitFlapDisplay/styles.module.scss +++ b/src/SplitFlapDisplay/styles.module.scss @@ -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;