From a88694043abf1d85eea271ed487fc863cca7f3bd Mon Sep 17 00:00:00 2001 From: Tim R Date: Fri, 15 Dec 2023 21:13:06 -0600 Subject: [PATCH] New tact of testing --- .github/workflows/tokens-build.yml | 10 +-- packages/tokens/figma/color.json | 94 ----------------------- packages/tokens/figma/iBeliever copy.json | 0 packages/tokens/figma/iBeliever.json | 0 packages/tokens/figma/new.json | 0 packages/tokens/figma/new2.json | 0 packages/tokens/figma/testFile2.json | 0 7 files changed, 2 insertions(+), 102 deletions(-) delete mode 100644 packages/tokens/figma/color.json delete mode 100644 packages/tokens/figma/iBeliever copy.json delete mode 100644 packages/tokens/figma/iBeliever.json delete mode 100644 packages/tokens/figma/new.json delete mode 100644 packages/tokens/figma/new2.json delete mode 100644 packages/tokens/figma/testFile2.json diff --git a/.github/workflows/tokens-build.yml b/.github/workflows/tokens-build.yml index 392fd7ac..24bd534e 100644 --- a/.github/workflows/tokens-build.yml +++ b/.github/workflows/tokens-build.yml @@ -29,8 +29,7 @@ jobs: cache: yarn cache-dependency-path: yarn.lock - run: yarn install - - name: Build tokens - run: yarn tokens:build + - run: yarn tokens:build - name: Prepare commit working-directory: packages/tokens run: | @@ -41,21 +40,16 @@ jobs: - name: Check for `figma` diff working-directory: packages/tokens run: | - echo $FIGMA_FILES_CHANGED git diff --shortstat figma | wc -l git diff HEAD --name-only figma | wc -l git git status figma -uall --porcelain 2>/dev/null| egrep "^(A| A|M| M|R| R|D| D)" | wc -l echo "FIGMA_FILES_CHANGED=$(git diff HEAD --name-only figma | wc -l)" >> $GITHUB_ENV - name: No changes to `figma` tokens if: ${{ env.FIGMA_FILES_CHANGED == 0 }} - run: | - echo $FIGMA_FILES_CHANGED - echo No changes to figma tokens + run: echo No changes to figma tokens - name: Commit latest `figma` tokens if: ${{ env.FIGMA_FILES_CHANGED >= 1 }} working-directory: packages/tokens run: | - echo $FIGMA_FILES_CHANGED - exit 1 git commit -m 'Build latest figma tokens' git push diff --git a/packages/tokens/figma/color.json b/packages/tokens/figma/color.json deleted file mode 100644 index ae902c2f..00000000 --- a/packages/tokens/figma/color.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "primaryDarker": { - "$value": "#003e73", - "$type": "color" - }, - "primaryAltLightest": { - "$value": "#e1f3f8", - "$type": "color" - }, - "secondaryLightest": { - "$value": "#f9dede", - "$type": "color" - }, - "white": { - "$value": "#ffffff", - "$type": "color" - }, - "black": { - "$value": "#000000", - "$type": "color" - }, - "gray": { - "$value": "#5b616b", - "$type": "color" - }, - "grayDark": { - "$value": "#323a45", - "$type": "color" - }, - "grayMedium": { - "$value": "#757575", - "$type": "color" - }, - "grayLight": { - "$value": "#aeb0b5", - "$type": "color" - }, - "grayLightAlt": { - "$value": "#eeeeee", - "$type": "color" - }, - "grayLighter": { - "$value": "#d6d7d9", - "$type": "color" - }, - "grayLightest": { - "$value": "#f1f1f1", - "$type": "color" - }, - "grayWarmDark": { - "$value": "#494440", - "$type": "color" - }, - "grayWarmLight": { - "$value": "#e4e2e0", - "$type": "color" - }, - "grayCoolLight": { - "$value": "#dce4ef", - "$type": "color" - }, - "uswdsSystemColorBlueVivid30": { - "$value": "#58b4ff", - "$type": "color" - }, - "uswdsSystemColorBlueVivid60": { - "$value": "#005ea2", - "$type": "color" - }, - "uswdsSystemColorBlueWarmVivid80": { - "$value": "#162e51", - "$type": "color" - }, - "uswdsSystemColorGray30": { - "$value": "#adadad", - "$type": "color" - }, - "uswdsSystemColorGray80": { - "$value": "#2e2e2e", - "$type": "color" - }, - "uswdsSystemColorRedVivid40": { - "$value": "#fb5a47", - "$type": "color" - }, - "uswdsSystemColorRedVivid60": { - "$value": "#b50909", - "$type": "color" - }, - "uswdsSystemColorRedVivid80": { - "$value": "#5c1111", - "$type": "color" - } -} diff --git a/packages/tokens/figma/iBeliever copy.json b/packages/tokens/figma/iBeliever copy.json deleted file mode 100644 index e69de29b..00000000 diff --git a/packages/tokens/figma/iBeliever.json b/packages/tokens/figma/iBeliever.json deleted file mode 100644 index e69de29b..00000000 diff --git a/packages/tokens/figma/new.json b/packages/tokens/figma/new.json deleted file mode 100644 index e69de29b..00000000 diff --git a/packages/tokens/figma/new2.json b/packages/tokens/figma/new2.json deleted file mode 100644 index e69de29b..00000000 diff --git a/packages/tokens/figma/testFile2.json b/packages/tokens/figma/testFile2.json deleted file mode 100644 index e69de29b..00000000