pascalgn / npm-publish-action

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

Missing version field! #45

Open cazetto opened 1 year ago

cazetto commented 1 year ago

Hello,

I am trying to publish a package from a monorepo a getting the message: missing version field!

In my package.json I have the field with the version and when I try to publish by command line it is published normally.

This is the monorepo that I am trying to publish a package: https://github.com/cazetto/force And the failed action: https://github.com/cazetto/force/actions/runs/3156611515/jobs/5136503214

pascalgn commented 1 year ago

I think it will look at this file, and there is no version field: https://github.com/cazetto/force/blob/main/package.json