use github actions for build and exclude bundles
micuat opened this issue · 5 comments
potentially we can use github actions for automated build and exclude bundle.js files:
https://docs.github.com/en/actions/guides/building-and-testing-nodejs
I think you can point the default repo to the build result. I will check if I can set it up on my fork.
here's an example of action https://github.com/micuat/hydra/blob/actiontest/.github/workflows/node.js.yml
the repo with bundled files can be downloaded here https://github.com/micuat/hydra/actions/runs/734610316
(not sure if it's possible to make a permanent link for download)
In the end I think it's not worth using github actions because I think anyways users need to npm i
when they download the repo, so why not doing npm run build-main
as well. I don't know what is the best practice in this case but we can stick to having the bundle included and/or making a separate doc for deploying hydra on local server