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

Remove node_moudles/@actions directories from tracked files & directories list #163

Merged

Conversation

tats-u
Copy link
Contributor

@tats-u tats-u commented Jan 11, 2021

Closes #157

You do not have to add node_modules to Git. It is not recommended.
https://devcenter.heroku.com/ja/articles/node-best-practices#only-git-the-important-bits (Japanese)
It may cause some troubles in the future.
https://okinawanpizza.hatenablog.com/entry/2020/01/01/224337 (Japanese)
VSCode recommends us to add node_modules to .gitignore.
ncc can pack dependencies into a compiled .js file (tsc itself cannnot), so you do not have to include node_modules/@actions in your repository anymore.

After this PR is merged, we only have to run npm install.

dependabot bot and others added 3 commits October 10, 2020 22:53
@tats-u tats-u force-pushed the ignore-node-modules branch from 0bb0d36 to f8c3712 Compare January 11, 2021 07:02
@tats-u tats-u force-pushed the ignore-node-modules branch from f8c3712 to 18a8f3b Compare January 11, 2021 10:54
Remove & ignore previous one (lib/main.js{,.map})
@tats-u tats-u force-pushed the ignore-node-modules branch from 18a8f3b to f8b8fa0 Compare January 11, 2021 10:57
@tats-u tats-u changed the title Remove node_moudles/@actions directories from ttracked files & directories list Remove node_moudles/@actions directories from tracked files & directories list Jan 12, 2021
@tats-u
Copy link
Contributor Author

tats-u commented Jan 12, 2021

Failed builds are caused by #164 , so these failed builds will be passed after merged.

@tats-u tats-u force-pushed the ignore-node-modules branch from 2625d1f to f8b8fa0 Compare January 12, 2021 12:17
Author's key is not passed to PR builds (shimataro#164)
@tats-u tats-u force-pushed the ignore-node-modules branch from 6b72eff to 5957928 Compare January 15, 2021 11:15
@shimataro shimataro changed the base branch from develop to feature/ignore-node-modules January 23, 2021 06:42
@shimataro shimataro merged commit 237ea58 into shimataro:feature/ignore-node-modules Jan 23, 2021
@shimataro
Copy link
Owner

@tats-u
very sorry to have kept you waiting SOOOO long.
I will merge it into my own branch for the present in order to run CI.

I may amend your code because I have't examine carefully for now.


しばらく放置していてごめんなさい!
CIを通すために、一旦こちらのブランチにマージします。

まだコードを詳しく見ていないので、あとでこちらで手を加えるかもしれません。

@tats-u
Copy link
Contributor Author

tats-u commented Jan 23, 2021

Thank you for your consideration.
I am looking forward merged this being merged into the develop branch.

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

Successfully merging this pull request may close these issues.

node_modules/@actions/core is committed & node_modules isn't included in .gitignore
2 participants