Skip to content

Fix incorrect publishing of workspace reference in package.jsons in release.yml via semantic-release #198

@bhouston

Description

@bhouston

The last time I used release.yml, the GitHub action workflow, the package.json that was published in the mycoder package included pnpm workspace references, e.g. "workspace:*" rather than the correct version number of the workspace sibling package that was being referenced. This is because semantic-release by default uses npm to do the publishing and it doesn't resolve the workspace references to proper versions.

I have found this semantic-release plugin, semantic-release-pnpm, that should address that. More information here:

https://github.com/anolilab/semantic-release/blob/main/packages/semantic-release-pnpm/README.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions