Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into token-changes
Browse files Browse the repository at this point in the history
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
  • Loading branch information
CCAyl committed Jun 28, 2022
2 parents ce7c2d0 + 7b903ed commit 425d173
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@ name: Style dictionary build
on:
push:
paths:
- 'data/tokens.json'
- 'config.json'
- 'build.js'
branches-ignore:
- 'main'
workflow_run:
workflows:
- "Transform tokens using token-transformer"
types:
- "completed"
branches-ignore:
- 'main'

Expand All @@ -19,10 +26,12 @@ jobs:
node-version: "14"
- name: Install Node Dependencies
run: npm install
- name: Run token-transformer
run: npm run transform
- name: Run style dictionary build
run: npm run build
- name: Commit built tokens
id: auto-commit-action
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Updated design tokens
commit_message: Built and updated design tokens

0 comments on commit 425d173

Please sign in to comment.