Using something like Netlify there could be a working build of every PR to this repo with a static deploy of graphiql which could hook up to the Star Wars API?
great idea! as in https://graphql.org/swapi-graphql/?
do we want this for each _release_ or every _build_?
Every PR should get a build, for example Artsy deploys an instance of storybook js for every PR so you can preview the changes live. e.g. https://github.com/artsy/reaction/pull/2392#issuecomment-491077963
E.g. this PR https://github.com/graphql/graphiql/pull/781#issuecomment-491115471 would have been trivial to test because it would have a working copy of GraphiQL linked in the PR
@orta you wanna take this on? Netlify would be a perfect candidate for this
Alright, yeah, I've done this on my own fork in https://github.com/orta/graphiql/pull/1 (sorry, #815 )
I'll request netlify to be added to this org (/cc admins @leebyron ) then once that's approved I can move it over.
looking good!
i would normally just use gh-pages, but netlify allows us to seamlessly host the build artifacts without committing them to source or a gh-pages branch
You can only have one gh-pages deploy, not many (e.g. per PR) - so, it wouldn't be feasible to do it on a per-PR basis 馃憤
ohh! i see what you mean. i thought you meant a build of every PR merge. so you mean one for each PR! even better.
OK, this now has a PR to the monorepo branch - https://github.com/acao/graphiql/pull/6
thanks @orta ! this is a great feature. has made the refactoring effort a lot easier