Update README.md #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate CSS from tokens with Style Dictionary | |
on: [push] | |
jobs: | |
generate_css: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Debug | |
run: echo "${{ github.workspace }} -- ${{ github.repository }}" | |
- name: Print Node.js version | |
run: node -v | |
- name: Install dependencies | |
run: npm install style-dictionary @tokens-studio/sd-transforms | |
- name: Build output files with Style Dictionary | |
run: node build.js | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Update Style Dictionary build output | |
file_pattern: 'build/*.*css' |