Skip to content

Commit

Permalink
fix: storybook ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yutakobayashidev committed Oct 11, 2023
1 parent 717a2ec commit 04d82bb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 17 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/storybook-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- uses: pnpm/[email protected]
with:
version: 8.2.0
- name: Install bun
uses: oven-sh/setup-bun@v1

- name: Install Node Dependencies
run: pnpm install
- name: Install dependencies
run: bun install
working-directory: ./frontend

- name: Build storybook
run: pnpm run build-storybook -o ./dist/storybook
run: bun run build-storybook -o ./dist/storybook
working-directory: ./frontend

- name: Create dist/frontend directory
Expand Down
11 changes: 2 additions & 9 deletions frontend/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@ const config: StorybookConfig = {
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-onboarding",
"@storybook/addon-interactions",
{
name: "@storybook/addon-postcss",
options: {
postcssLoaderOptions: {
implementation: require("postcss"),
},
},
},
"@storybook/addon-mdx-gfm",
"@storybook/addon-a11y",
],
framework: {
name: "@storybook/nextjs",
Expand Down
Binary file modified frontend/bun.lockb
Binary file not shown.
5 changes: 3 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,13 @@
"zod": "^3.21.4"
},
"devDependencies": {
"@storybook/addon-a11y": "^7.4.6",
"@storybook/addon-essentials": "^7.0.23",
"@storybook/addon-interactions": "^7.0.23",
"@storybook/addon-links": "^7.0.23",
"@storybook/addon-mdx-gfm": "^7.0.23",
"@storybook/addon-onboarding": "^1.0.8",
"@storybook/blocks": "^7.0.23",
"@storybook/nextjs": "^7.0.23",
"@storybook/nextjs": "7.4.6",
"@storybook/react": "^7.0.23",
"@storybook/testing-library": "^0.2.0",
"@svgr/webpack": "^8.0.1",
Expand Down

1 comment on commit 04d82bb

@vercel
Copy link

@vercel vercel bot commented on 04d82bb Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.