Should I npmignore ".github" folder?

205 Views Asked by At

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

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

1

There are 1 best solutions below

2
On

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