Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look into not adding node modules into source control #1

Open
lannonbr opened this issue Dec 11, 2019 · 0 comments
Open

Look into not adding node modules into source control #1

lannonbr opened this issue Dec 11, 2019 · 0 comments

Comments

@lannonbr
Copy link

It is a good practice to not push node modules into source control. Given Actions doesn't install node modules by default, you have to have the code in source control somehow.

What I recommend is using some module bundler to take the action code and the node modules and bundle it into a single file that then can be uploaded into source control which will then only cause 1 file change instead of 100s to 1000s.

Some bundlers you could use include Webpack, Rollup, Parcel, or ncc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant