chore(Convert to W3C DTCG format): read more at https://docs.tokens.studio/convert-to-dtcg-format (#415) #248
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: Build | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
# Builds token library. | |
build: | |
name: Build library | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: yarn install --frozen-lockfile | |
- name: Append .env | |
run: | | |
echo " | |
FIGMA_ACCESS_TOKEN=${{ secrets.FIGMA_ACCESS_TOKEN }} | |
FIGMA_FILE_ID=${{ secrets.FIGMA_FILE_ID }} | |
" >> .env | |
- name: Build | |
run: yarn run build |