Merge branch 'master' of github.com:leadream/juuust-icon
Showing
... | ... | @@ -5,10 +5,11 @@ on: |
- master | ||
# file paths to consider in the event. Optional; defaults to all. | ||
paths: | ||
- icons.json | ||
- package.json | ||
jobs: | ||
check_pr: | ||
icon_automation: | ||
name: figma icon automation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
... | ... | @@ -16,6 +17,14 @@ jobs: |
- name: "install" | ||
run: yarn install | ||
- name: Figma Action | ||
uses: primer/[email protected] | ||
with: | ||
args: "format=svg outputDir=./build/" | ||
env: | ||
FIGMA_FILE_URL: "https://www.figma.com/file/${{ secrets.FILE_KEY }}" | ||
FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }} | ||
- name: "generate" | ||
run: yarn generate | ||
... | ... |
{ | ||
"name": "juuust-icon", | ||
"version": "0.1.2", | ||
"version": "0.1.14", | ||
"description": "Icon automation workflow with Figma", | ||
"main": "dist/index.js", | ||
"module": "build/index.js", | ||
... | ... | @@ -48,4 +48,4 @@ |
"svgo": "^1.3.0", | ||
"uppercamelcase": "^3.0.0" | ||
} | ||
} | ||
} | ||
\ No newline at end of file |
Please register or sign in to comment