Skip to content

Commit

Permalink
Attempt to fix Storybook v6 build
Browse files Browse the repository at this point in the history
The difference between v7 and v6 is starting to be quite large at this
point.
  • Loading branch information
trotzig committed Jan 11, 2024
1 parent 37e2e60 commit 5e2284d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
HAPPO_API_KEY: ${{ secrets.HAPPO_API_KEY }}
HAPPO_API_SECRET: ${{ secrets.HAPPO_API_SECRET }}
DISABLE_REACT_WEBPACK5_FRAMEWORK: true
DISABLE_ADDONS: true
HAPPO_DEBUG: true

steps:
- uses: actions/checkout@v2
Expand All @@ -41,6 +43,7 @@ jobs:
- run: corepack enable
- run: yarn install --frozen-lockfile
- run: rm .storybook/Interactive.stories.js
- run: yarn remove @storybook/react-webpack5 storybook
- run: yarn add @storybook/[email protected] @storybook/[email protected] @storybook/[email protected] @storybook/[email protected] @storybook/[email protected] @storybook/[email protected] @storybook/[email protected] react@17 react-dom@17 --dev
- run: yarn build && yarn happo run
- run: yarn add --dev storybook@6 @storybook/addon-actions@6 @storybook/addon-interactions@6 @storybook/api@6 @storybook/react@6
- run: yarn build
- run: yarn storybook build --version
- run: yarn happo run

0 comments on commit 5e2284d

Please sign in to comment.