Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot deploy to npm registry with scoped package #874

Open
2 of 5 tasks
samuelmanzanera opened this issue Oct 19, 2023 · 4 comments
Open
2 of 5 tasks

Cannot deploy to npm registry with scoped package #874

samuelmanzanera opened this issue Oct 19, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@samuelmanzanera
Copy link

samuelmanzanera commented Oct 19, 2023

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

Action version:
Specify the action version: v3

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • 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 samuelmanzanera added bug Something isn't working needs triage labels Oct 19, 2023
@nikolai-laevskii
Copy link
Contributor

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

@dmitry-shibanov
Copy link
Contributor

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

@samuelmanzanera
Copy link
Author

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 ?

@samuelmanzanera
Copy link
Author

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants