You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run JS-DevTools/npm-publish@v1
with:
token: ***
check-version: true
registry: https://registry.npmjs.org/
package: package.json
tag: latest
dry-run: false
Error: TypeError: Unable to parse package.json
Invalid Version: 0.0.2rc
at Object.readManifest (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/read-manifest.ts:47:11)
at Object.npmPublish (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/npm-publish.ts:15:18)
at main (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/action/index.ts:28:19)
TypeError: Invalid Version: 0.0.2rc
at new SemVer (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/dist/node_modules/semver/classes/semver.js:38:13)
at Object.readManifest (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/read-manifest.ts:40:16)
at Object.npmPublish (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/npm-publish.ts:15:18)
at main (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/action/index.ts:28:19)
Is this happening because the version already exists on npm? or... because actually invalud version name?
0.0.1rc2 kind of name is acceptable by npm. and it works via npm / yarn publish cli. if this is the reason. i believe this needs to be fixed.
The text was updated successfully, but these errors were encountered:
Is this happening because the version already exists on npm? or... because actually invalud version name?
0.0.1rc2
kind of name is acceptable by npm. and it works via npm / yarn publish cli. if this is the reason. i believe this needs to be fixed.The text was updated successfully, but these errors were encountered: