2

Should I npmignore .github folder which contains stuff need for Github Actions?

Also side question. Do I need to push .npmignore to github?

Joe
  • 41,484
  • 20
  • 104
  • 125
Bromer
  • 53
  • 2

1 Answers1

0

If .github folder is used for github, I think you should push it on the repo. Concerning .npmignore files, it's useful to push it or if you clone your repo on another place, it will not be available on his npm command.

Hope it helps

Jérôme
  • 56
  • 1
  • 5
  • `.github` folder already pushed to github, I'm asking if I should publish it to npm or add it to `.npmignore` to prevent it from publishing. – Bromer Nov 23 '19 at 13:18
  • Usually the stuff in .github is specific to the repository you use (templates, etc.) so I'd personally ignore it but I'm sure there are scenarios where that's desired behavior. – Joe Nov 23 '19 at 19:36