Commit 98777890 authored by Brendan O'Leary 🐢's avatar Brendan O'Leary 🐢 Committed by Suzanne Selhorn

Make .npmrc usage more clear

parent 46aeecdf
......@@ -306,10 +306,12 @@ stages:
deploy:
stage: deploy
script:
- echo '//gitlab.com/api/v4/projects/<your_project_id>/packages/npm/:_authToken=${CI_JOB_TOKEN}'>.npmrc
- echo '//gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}'>.npmrc
- npm publish
```
Learn more about [using `CI_JOB_TOKEN` to authenticate to the GitLab NPM registry](#authenticating-with-a-ci-job-token).
## Troubleshooting
### Error running yarn with NPM registry
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment