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:
Josh Hunt
2025-07-04 11:35:52 +01:00
committed by GitHub
parent 47e5bd2316
commit 4d93380753
3 changed files with 95 additions and 0 deletions
@@ -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',
},
});