shimataro/ssh-key-action

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

Closed this issue · 3 comments

npm install installs a lot of files in node_modules, and they are tracked by Git. We may add them to new commits by mistake.
Actually, node_modules/@actions/core has already been committed. Is this intended?

🇯🇵
npm installnode_moduleに大量のファイルをインストールするため、Gitに追跡されてしまいます。これでは間違ってコミットしてしまいます。実際、node_modules/@actions/coreがコミットされてしまっています。これは意図的なものでしょうか?

This is because tsc alone cannot bundle dependencies, and I solved it by using ncc (#163).
tscだけでは依存性のバンドルができないのが原因ですが、nccを利用することによって解決しました。 (#163)

Oh, it has not been merged in develop yet. I will close this issue again at that time.
あ、まだdevelopにはマージされていないのですね、そのタイミングで再クローズします。

done!