setup-node
setup-node copied to clipboard
Cannot deploy to npm registry with scoped package
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.
Thank you for reporting the issue! We will investigate it and come back to you with the details!
Hello @samuelmanzanera. Sorry for the late response. Could you please try to use scope input.
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 ?
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 ?