Skip to content

Commit c479d3e

Browse files
committed
ci: setting up storybook on vercel
1 parent 6aa6e5a commit c479d3e

File tree

3 files changed

+9
-67
lines changed

3 files changed

+9
-67
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"test:ci": "vitest run --coverage",
5050
"commit": "cz",
5151
"storybook": "storybook dev -p 6006",
52-
"storybook:build": "storybook build",
52+
"build-storybook": "storybook build",
5353
"release": "pnpm build && pnpm release-it",
5454
"link:self": "pnpm link --global",
5555
"prepare": "lefthook install"

vercel.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"buildCommand": "npm run build-storybook",
4+
"devCommand": "npm run storybook",
5+
"installCommand": "npm install",
6+
"framework": null,
7+
"outputDirectory": "./storybook-static"
8+
}

0 commit comments

Comments
 (0)