Satellite-im / Warp

Interface Driven Distributed Data Service
MIT License
15 stars 4 forks source link

wasm: Add action for wasm builds #524

Closed Flemmli97 closed 3 weeks ago

Flemmli97 commented 4 months ago

What this PR does 📖

This PR adds a github action that runs whenever a push/pr to extensions/warp-ipfs occurs to create the wasm pack. It will build the wasm-pack and then push the result to https://github.com/Satellite-im/warp-wasm under /pkg. This way we don't need to do anything further to update wasm.

Some things need to be done first before this action will work: Both Warp and warp-wasm need to have ssh access setup. Warp needs the private key and warp-wasm the public one. Guide on how to can be found here:
https://cpina.github.io/push-to-another-repository-docs/setup-using-ssh-deploy-keys.html#setup-ssh-deploy-keys

dariusc93 commented 3 weeks ago

Closing due to #603 being merged since any push to update the commit on that repository could introduce a breaking change if the API did change.