Storybook: Deploy PR previews (#107322)
* Create workflow to build storybook * rename action, gate to non-forks * fix my branch name * add upload to gcs * fix permissions * login first * try prod env * remove login * clean up GHA * try to upload storybook to better path * better cache node modules * specify parent: false * write summary * fix summary url * comment * add comment * fix commit hash * add issue number to new comment * remove comment stuff * codeowners * change deploy name preview * fix
This commit is contained in:
@@ -52,6 +52,7 @@ if (process.env.NODE_ENV === 'development') {
|
||||
initialize({
|
||||
onUnhandledRequest: 'bypass',
|
||||
serviceWorker: {
|
||||
// Important! The path must be relative to work when we deploy storybook to subpaths (e.g. /ui/canary)
|
||||
url: 'mockServiceWorker.js',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user