Skip to content
Snippets Groups Projects
Commit d14f4bfb authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

GitLab NPM

parent f748f1cd
No related branches found
No related tags found
1 merge request!4NPM
......@@ -52,9 +52,7 @@ Publish npm:
- tags@ghsc/nshmp/disagg-d3
before_script:
- npm ci
- npm run npm-cli-login -- -u ${NPM_USER} -p ${NPM_PASSWORD} -e ${NPM_EMAIL}
- git config user.email "${GITLAB_USER_EMAIL}"
- git config user.name "${GITLAB_USER_NAME}"
- echo '//gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}'>.npmrc
script:
- npx standard-version --release-as ${CI_COMMIT_TAG} --skip.commit --skip.changelog
- npm publish --access public
.npmrc 0 → 100644
@nshmp/disagg-d3:registry=https://gitlab.com/api/v4/packages/npm/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment