pascalgn / npm-publish-action

GitHub action to automatically publish packages to npm
MIT License
221 stars 29 forks source link

Added ability to use custom directories #15

Closed Bullrich closed 4 years ago

Bullrich commented 4 years ago

Added the ability to configure a custom directory in case the package.json is not in the root.

It also checks in case that a user added the whole package.json file and it strips it to get only the directory.

pascalgn commented 4 years ago

I renamed the option to WORKSPACE, as the "original" configuration is GITHUB_WORKSPACE. Thanks for the PR, it's merged now! 👍