change to src/svg
Showing
... | ... | @@ -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": { | ||
... | ... |
Please register or sign in to comment