Closed kurigashvili-godaddy closed 2 years ago
Hey @kurigashvili-godaddy,
Everything should be bundled properly. Is it possible to get any information on your runner? We are wondering if that is causing the issue.
@qpetraroia it is a self hosted runner: Amazon Linux 2 EC2. May be the npm packages that you are relying are preinstalled on Github hosted runners. The recommended approach is to pre-build using ncc package and commit the build output to the repo. This is how Github does for all their official actions that require extra dependencies.
This issue is idle because it has been open for 14 days with no activity.
We just published a new release that resolves this.
I am getting the following error:
I am confused if I need install those modules separately. I am using self hosted runners.
My understanding all dependencies should be pre-build using ncc package (recommended approach from Github)
https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github
Example: https://github.com/actions/setup-node/blob/main/package.json#L8 https://github.com/actions/setup-node/blob/main/dist/setup/index.js