Open vbrown608 opened 3 years ago
We need to make node dependencies available to this Github action. Currently, I'm committing the node_modules directory, however dev dependencies not required at runtime will also be added to that directory.
node_modules
One option is to use a tool to compile the code and dependencies into a single module https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github
Another is option is to switch to a docker action.
Might be too much for this action, but useful when trying to bundle dependencies that don't support it (like native modules).
We need to make node dependencies available to this Github action. Currently, I'm committing the
node_modules
directory, however dev dependencies not required at runtime will also be added to that directory.One option is to use a tool to compile the code and dependencies into a single module https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github