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

npm publish does not respect the global gitignore #10

Open
EricCrosson opened this issue May 5, 2023 · 1 comment
Open

npm publish does not respect the global gitignore #10

EricCrosson opened this issue May 5, 2023 · 1 comment

Comments

@EricCrosson
Copy link
Collaborator

which means the action's temp dir is only excluded because I happen to use files in the package manifest to describe a whitelist of files.

Possible workarounds:

  • move the action workspace somewhere else, maybe RUNNER_TEMP or even a persistent cache like RUNNER_TOOL_CACHE
  • modify the project .gitignore instead
  • ?
@EricCrosson
Copy link
Collaborator Author

After some local experiments, I can confirm that npm definitely does not respect the global .gitignore. Related issues:

@EricCrosson EricCrosson changed the title I don't think npm respects the global gitignore npm publish does not respect the global gitignore May 6, 2023
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

No branches or pull requests

1 participant