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

Merge branch 'npm' into 'master'

NPM

See merge request !4
parents 0883a6b9 feb4755a
No related branches found
No related tags found
1 merge request!4NPM
Pipeline #21082 failed
...@@ -52,9 +52,7 @@ Publish npm: ...@@ -52,9 +52,7 @@ Publish npm:
- tags@ghsc/nshmp/disagg-d3 - tags@ghsc/nshmp/disagg-d3
before_script: before_script:
- npm ci - npm ci
- npm run npm-cli-login -- -u ${NPM_USER} -p ${NPM_PASSWORD} -e ${NPM_EMAIL} - echo '//gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}'>.npmrc
- git config user.email "${GITLAB_USER_EMAIL}"
- git config user.name "${GITLAB_USER_NAME}"
script: script:
- npx standard-version --release-as ${CI_COMMIT_TAG} --skip.commit --skip.changelog - npx standard-version --release-as ${CI_COMMIT_TAG} --skip.commit --skip.changelog
- npm publish --access public - npm publish --access public
.npmrc 0 → 100644
@nshmp:registry=https://gitlab.com/api/v4/packages/npm/
This diff is collapsed.
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
"@types/d3": "^3.5.43", "@types/d3": "^3.5.43",
"@types/node": "^14.6.0", "@types/node": "^14.6.0",
"husky": "^4.2.5", "husky": "^4.2.5",
"npm-cli-login": "^0.1.1",
"prettier": "^2.1.0", "prettier": "^2.1.0",
"pretty-quick": "^3.0.0", "pretty-quick": "^3.0.0",
"tslint": "^6.1.3", "tslint": "^6.1.3",
...@@ -39,5 +38,8 @@ ...@@ -39,5 +38,8 @@
"pre-commit": "npm run pre-commit", "pre-commit": "npm run pre-commit",
"pre-push": "npm run pre-push" "pre-push": "npm run pre-push"
} }
},
"publishConfig": {
"@nshmp:registry": "https://gitlab.com/api/v4/projects/4335/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