Skip to content

Gots 404 error on npm when publishing with GitHub Actions #311

@EduardoJM

Description

@EduardoJM

I have a monorepo with some packages and i decided to use turbo to manage the packages and the changesets to make publish a little more easy.

When the changeset publish is run in local repository, the packages are published to npm.

When i added the Github Actions to publish, i got an 404 error on PUT:

🦋  info npm info @inventare/icons
🦋  info npm info @inventare/react
🦋  info npm info @inventare/styles
🦋  warn @inventare/icons is not being published because version 0.0.1 is already published on npm
🦋  warn @inventare/react is not being published because version 0.0.9 is already published on npm
🦋  info @inventare/styles is being published because our local version (0.0.8) has not been published on npm
🦋  info Publishing "@inventare/styles" at "0.0.8"
🦋  error an error occurred while publishing @inventare/styles: E404 Not Found - PUT https://registry.npmjs.org/@inventare%2fstyles - Not found 

I viewed some other issues with related problems but i don't see any solution.


My repository: https://github.com/inventare/design-system
Complete log of action run: https://github.com/inventare/design-system/actions/runs/5581849500/jobs/10200447919

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions