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.
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