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
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The list can be fetched by `gibo dump node`.
Remove & ignore previous one (lib/main.js{,.map})
@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.

Author's key is not passed to PR builds (shimataro#164)
@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