Skip to content

Commit 66cfe4e

Browse files
committed
ci(storybook): set STORYBOOK_RN_URL=./react-native for host build to fix composed ref in static deploys (Storybook 10 no longer sets NODE_ENV)
1 parent 5786484 commit 66cfe4e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build-storybook-main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
- name: Build React Storybook
2323
working-directory: apps/storybook-react
24+
env:
25+
STORYBOOK_RN_URL: ./react-native
2426
run: |
2527
yarn build-storybook
2628
touch storybook-static/.nojekyll

.github/workflows/build-storybook-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323

2424
- name: Build React Storybook
2525
working-directory: apps/storybook-react
26+
env:
27+
STORYBOOK_RN_URL: ./react-native
2628
run: yarn build-storybook
2729

2830
- name: Build React Native web Storybook

0 commit comments

Comments
 (0)