-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
The nearest issue is #1626 but it's about using npm to get package, and it look solved for most user.
Here it's about npm publishing package in CI, and it's not solved for now.
Current Behavior:
https://framagit.org/1000i100/g1lien/-/jobs/1072053
$ npm publish
[...]
npm ERR! code E404
npm ERR! 404 Not Found - PUT https://registry.npmjs.org/g1link - Not found
npm ERR! 404
npm ERR! 404 '[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
[...]
Expected Behavior:
Successful publish of my package from docker in gitlab-CI with npm_token authentication.
(it works yesterday on my laptop with npm login, but not with npm_token in CI).
Steps To Reproduce:
ex. steps to reproduce the behavior:
- Fork this : https://framagit.org/1000i100/g1lien
- change the package name and add your npm token
- push it with a tag on a gitlab with CI active.
It should reproduce the problem.
Environment:
https://framagit.org/1000i100/g1lien/-/blob/master/.gitlab-ci.yml#L5
https://framagit.org/1000i100/g1lien/-/jobs/1072052#L17
- OS: Docker in gitlab with image: node:current
- Node: v14.7.0
- NPM: 6.14.7
songololo, michaelrodov, ethubert, arsentabaku, instantleves and 34 moreJestDotty, madrus, sarathy-partha, ernanirst, hughhm and 1 more
Metadata
Metadata
Assignees
Labels
No labels