node_modules for real?
See original GitHub issueI see node_modules/ included in the project while it’s considered bad practice to have it in git repo. Is is the only way to make sure Node runs well in actions with correct dependencies? Can I install the packages during(or before) action is really running?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:16
- Comments:12
Top Results From Across the Web
Node.js Modules - TutorialsTeacher
Module in Node.js is a simple or complex functionality organized in a single or multiple JavaScript files which can be reused throughout your...
Read more >CommonJS modules | Node.js v19.3.0 Documentation
CommonJS modules are the original way to package JavaScript code for Node.js. Node.js also supports the ECMAScript modules standard used by browsers and ......
Read more >How To Use Node.js Modules with npm and package.json
First, you will create a package.json file to store useful metadata about the project and help you manage the project's dependent Node.js ...
Read more >Node.js Modules - GeeksforGeeks
In Node.js, Modules are the blocks of encapsulated code that communicates with an external application on the basis of their related ...
Read more >Understanding dependency management with Node Modules
A module or a collection of modules can be published as a package to a public or private registry for consumption. The main...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@123aswin123 in your example you are consuming an action from a workflow which is not the same as creating an action. This project is an example of how to create a JavaScript GitHub Action. The problem this issue points out is the inability to create an action without including
node_modules.Thanks @rachmari. Yes I tried NCC, but it threw an error in a certain project… so it seems unstable. Anyways, thanks for your responses. It’s not the end of the world… just inconvenient and not ideal especially as an open source project.