Skip to content

Commit

Permalink
docs: fix build command
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavPetrik committed Mar 6, 2024
1 parent dd5881c commit f460aa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Build Storybook Docs
uses: borales/actions-yarn@v4
with:
cmd: build:docs
cmd: sb:build

- name: Upload Storybook
uses: actions/upload-pages-artifact@v2
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@
"test": "vitest",
"test:cov": "vitest --coverage",
"typecheck": "vitest --typecheck.only",
"storybook": "storybook dev",
"sb": "yarn sb:styles && yarn storybook",
"sb": "yarn sb:styles && storybook dev",
"sb:build": "yarn sb:styles && storybook build --docs",
"sb:docs": "yarn sb:styles storybook dev --docs",
"sb:docs": "yarn sb:styles && storybook dev --docs",
"sb:styles": "cp ./node_modules/@picocss/pico/css/pico.colors.min.css public/",
"sb:up": "yarn dlx storybook@latest upgrade",
"lint": "eslint --ext .tsx,.ts ./src",
Expand Down

0 comments on commit f460aa6

Please sign in to comment.