actions / setup-node

Set up your GitHub Actions workflow with a specific version of node.js
MIT License
3.73k stars 1.23k forks source link

Cannot deploy to npm registry with scoped package #874

Open samuelmanzanera opened 8 months ago

samuelmanzanera commented 8 months ago

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

Action version: Specify the action version: v3

Platform:

Runner type:

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.

nikolai-laevskii commented 8 months ago

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

dmitry-shibanov commented 6 months ago

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

samuelmanzanera commented 4 months ago

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 commented 2 months ago

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 ?