Skip to content

Merge pull request #100 from Ayaz1997/testing-design-tokens #1

Merge pull request #100 from Ayaz1997/testing-design-tokens

Merge pull request #100 from Ayaz1997/testing-design-tokens #1

Workflow file for this run

name: Figma Token/Theme Sync
on:
push
jobs:
change-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node v18
uses: actions/setup-node@v2
with:
node-version: 18
- name: Transform Tokens
run: |
npx token-transformer ./src/tokens/tokens.json ./src/tokens/tokens-output.json
rm ./src/tokens/tokens.json
mv ./src/tokens/tokens-output.json ./src/tokens/tokens.json
- name: Commit and push changes
uses: devops-infra/action-commit-push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_message: "Token Transformation from Token Studio format to JSON"