Package publication issue (using `@effect/build-utils`

(I just realized there is a help-forum, that may be more appropriate to post in here rather than posting that kind of things in effect-beginners or random)

I added @effect/build-utils to one of my workspaces to simplify my package publication workflow.
I'm also using changesets for this.

However, I'm encountering an issue that I can't resolve on my own.

When trying to publish the package to the npm registry via GitHub Actions, I get this error:

Copier le code
🦋  error   "error": {
🦋  error     "code": "ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND",
🦋  error     "message": "No package.json (or package.yaml, or package.json5) was found in \"/home/runner/work/<REPO>/<REPO>/packages/<PACKAGE>/dist\"."
🦋  error   }
🦋  error }


The strange thing is that when I pack and inspect the tarball locally, everything seems fine. Additionally, publishing the repository from my local terminal works perfectly. The issue only occurs with GitHub Actions, and even more confusingly, it only affects this particular package.

I've searched for information but haven't found anything useful, so I'd really appreciate any help.
Was this page helpful?