setup-node icon indicating copy to clipboard operation
setup-node copied to clipboard

Cannot deploy to npm registry with scoped package

Open samuelmanzanera opened this issue 2 years ago • 4 comments

Description: I can't deploy to NPM using Github Action when I used a scoped package.

Action version: Specify the action version: v3

Platform:

  • [x] Ubuntu
  • [ ] macOS
  • [ ] Windows

Runner type:

  • [x] Hosted
  • [ ] Self-hosted

Tools version:

npm: 8.19.4 node v16.20.2

Repro steps:

Here the link of the Github Action workflow which failed:

https://github.com/archethic-foundation/libjs/actions/runs/6571556524/job/17850963499

Expected behavior: I expect the publishing to work, as it's working locally without Github Action.

Actual behavior: It seems the NPM package doesn't find the package with the scope.

samuelmanzanera avatar Oct 19 '23 08:10 samuelmanzanera

Thank you for reporting the issue! We will investigate it and come back to you with the details!

nikolai-laevskii avatar Oct 19 '23 08:10 nikolai-laevskii

Hello @samuelmanzanera. Sorry for the late response. Could you please try to use scope input.

dmitry-shibanov avatar Dec 28 '23 10:12 dmitry-shibanov

Hello @samuelmanzanera. Sorry for the late response. Could you please try to use scope input.

Thanks for the reply and sorry for the delay.

I did try this strategy but it doesn's ended well.

You can see the result of the github action: https://github.com/archethic-foundation/libjs/actions/runs/8138807417/job/22240484834

And the commit about the changes in the .yaml: https://github.com/archethic-foundation/libjs/commit/7c2484b73791c874518f3d8031ab52b8ab811cd4

Is it only working with Github package registry ?

samuelmanzanera avatar Mar 04 '24 10:03 samuelmanzanera

Hello @samuelmanzanera. Sorry for the late response. Could you please try to use scope input.

Thanks for the reply and sorry for the delay.

I did try this strategy but it doesn's ended well.

You can see the result of the github action: https://github.com/archethic-foundation/libjs/actions/runs/8138807417/job/22240484834

And the commit about the changes in the .yaml: archethic-foundation/libjs@7c2484b

Is it only working with Github package registry ?

Any idea or news about this subject ?

samuelmanzanera avatar Apr 08 '24 07:04 samuelmanzanera