Skip to content

Commit 8ca0ca8

Browse files
Merge pull request #706 from glints-dev/chore/fix-production-build-icons
chore: add build icons
2 parents b7b818f + 2f73c3f commit 8ca0ca8

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ jobs:
3838
cache: 'yarn'
3939
- name: Install dependencies
4040
run: yarn install --prefer-offline
41-
- name: Build Icons
42-
run: yarn build:next:icon
4341
- name: Build storybook
4442
run: yarn storybook:build:test
4543
- name: Run Playwright tests
@@ -67,8 +65,6 @@ jobs:
6765
cache: 'yarn'
6866
- name: Install dependencies
6967
run: yarn install --prefer-offline
70-
- name: Build Icons
71-
run: yarn build:next:icon
7268
- name: Deploy to Chromatic
7369
uses: chromaui/action@v1
7470
with:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"test": "jest --env jsdom",
2525
"coverage:src": "jest --coverage --collectCoverageFrom 'src/**/*.tsx' --coveragePathIgnorePatterns 'src/General/Icon/components/' --collectCoverageFrom='!src/**/*.stories.tsx' --collectCoverageFrom='!src/**/*StoryStyle.tsx' --collectCoverageFrom='!src/**/*StoriesHelpers.tsx' --collectCoverageFrom='!src/stories/story-components/**'",
2626
"storybook": "start-storybook -p 6006",
27-
"storybook:build": "rm -rf .out && npm run storybook:build:assets && npm run build:icon && build-storybook -o .out -s dist/public",
28-
"storybook:build:test": "rm -rf storybook-static && npm run storybook:build:assets && npm run build:icon && build-storybook -o storybook-static -s dist/public",
27+
"storybook:build": "rm -rf .out && npm run storybook:build:assets && npm run build:icon && npm run build:next:icon && build-storybook -o .out -s dist/public",
28+
"storybook:build:test": "rm -rf storybook-static && npm run storybook:build:assets && npm run build:icon && npm run build:next:icon && build-storybook -o storybook-static -s dist/public",
2929
"storybook:build:assets": "webpack"
3030
},
3131
"author": "Glints",

0 commit comments

Comments
 (0)