MLH-Fellowship / babel-sandbox

Babel repl-like codesandbox: check out link =>
https://codesandbox.io/s/github/babel/sandboxes
MIT License
6 stars 3 forks source link

Should be able to trigger codesandbox from build CI #31

Open ianjennings opened 4 years ago

ianjennings commented 4 years ago

https://github.com/babel/babel/pull/11479

context: https://github.com/babel/babel/pull/11479
[4:40 PM]
basically the repl is nice for users to test things
[4:41 PM]
but we realized we could test the babel PR build (whatever is added/removed in a PR) in the repl too
[4:41 PM]
then I figured we could do more with that for the maintainers themselves to test, and Ives who works on codesandbox was showing us their CI feature and I wanted to test it out (https://codesandbox.io/docs/ci)(edited)
NEW
[4:42 PM]
so in a way that's where the scope of the REPL would be a lot larger, and maybe it wouldn't be considered the same thing anymore
ianjennings commented 4 years ago

https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action

ianjennings commented 4 years ago

Here's a basic action that triggers a webhook. We just need our server to support it.

  1. Receive hook
  2. Download code and embed in sandbox.

https://github.com/marketplace/actions/webhook-trigger