Skip to content

Commit

Permalink
Split out lib and storybook build scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Dec 18, 2023
1 parent a0af282 commit 9bc43a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: npm ci

- name: Build library and storybook
run: npm run build
run: npm run build-lib && npm run build-storybook

- name: Setup pages.
uses: actions/configure-pages@v2
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/test.yml

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"author": "[email protected]",
"scripts": {
"dev": "storybook dev -p 6006",
"build": "rm -rf ./build && rollup -c && storybook build"
"build-storybook": "storybook-build",
"build-lib": "rm -rf ./dist && rollup -c"
},
"release": {
"branches": [
Expand Down

0 comments on commit 9bc43a4

Please sign in to comment.