Commit df21d21b authored by Jun's avatar Jun

change to src/svg

parent 72a39729
......@@ -14,18 +14,17 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: yarn install
- name: Figma Action
uses: primer/[email protected]
with:
args: "format=svg outputDir=./src/icons/"
args: "format=svg outputDir=./src/"
env:
FIGMA_FILE_URL: ${{ secrets.FIGMA_FILE_URL }}
FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: yarn install
- run: yarn generate
- run: yarn build
- run: yarn publish
......
......@@ -28,9 +28,9 @@
},
"homepage": "https://github.com/leadream/juuust-icon#readme",
"scripts": {
"generate": "sudo rm -rf src/icons && node bin/build.js",
"build:bundle": "sudo rm -rf dist && rollup --config rollup.config.js",
"build:es": "sudo rm -rf build && babel src --out-dir build --copy-files",
"generate": "rm -rf src/icons && node bin/build.js",
"build:bundle": "rm -rf dist && rollup --config rollup.config.js",
"build:es": "rm -rf build && babel src --out-dir build --copy-files",
"build": "concurrently \"yarn:build:*\""
},
"config": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment