build: add automatic publishing

Fixes #72
This commit is contained in:
Karl-Philipp Wulfert
2019-05-20 17:48:25 +02:00
committed by Rainer Killinger
parent e41169a9c7
commit 6ffa4efbaf
3 changed files with 35 additions and 11 deletions

View File

@@ -50,6 +50,21 @@ test:
- report
- coverage
package:
dependencies:
- build
tags:
- secrecy
stage: deploy
script:
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > /root/.npmrc
- npm publish
only:
- /^v[0-9]+.[0-9]+.[0-9]+$/
artifacts:
paths:
- lib
pages:
stage: deploy
script:

24
package-lock.json generated
View File

@@ -81,9 +81,9 @@
"dev": true
},
"@babel/runtime": {
"version": "7.4.4",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.4.tgz",
"integrity": "sha512-w0+uT71b6Yi7i5SE0co4NioIpSYS6lLiXvCzWzGSKvpK5vdQtCbICHMj+gbAKAOtxiV6HsVh/MBdaF9EQ6faSg==",
"version": "7.4.5",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.5.tgz",
"integrity": "sha512-TuI4qpWZP6lGOGIuGWtp9sPluqYICmbk8T/1vpSysqJxRPkudh/ofFWyqdcMsDf2s7KvDL4/YHgKyvcS3g9CJQ==",
"dev": true,
"requires": {
"regenerator-runtime": "^0.13.2"
@@ -146,9 +146,9 @@
"dev": true
},
"@openstapps/configuration": {
"version": "0.14.0",
"resolved": "https://registry.npmjs.org/@openstapps/configuration/-/configuration-0.14.0.tgz",
"integrity": "sha512-0eiupryX/yOD76Q/aNgY//0uoJ0v2OEGRunqQjfAXW5humTRH2wUKv89IdqbhqV+w2At0Qlg0xd8SvfSNL43JQ==",
"version": "0.16.0",
"resolved": "https://registry.npmjs.org/@openstapps/configuration/-/configuration-0.16.0.tgz",
"integrity": "sha512-wnaSjxP0NZcK3Ke1eG/19rwChbCjLn+UCo2SsU4QN35MgyUUci/Y/4/v1kKxznHL7VWlx0bW3cLxCVvNtBMw7w==",
"dev": true,
"requires": {
"@types/node": "10.14.4",
@@ -257,6 +257,12 @@
"nodemailer": "6.1.1"
},
"dependencies": {
"@types/node": {
"version": "10.14.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.6.tgz",
"integrity": "sha512-Fvm24+u85lGmV4hT5G++aht2C5I4Z4dYlWZIh62FAfFO/TfzXtPpoLI6I7AuBWkIFqZCnhFOoTT7RjjaIL5Fjg==",
"dev": true
},
"@types/nodemailer": {
"version": "4.6.8",
"resolved": "https://registry.npmjs.org/@types/nodemailer/-/nodemailer-4.6.8.tgz",
@@ -368,9 +374,9 @@
"dev": true
},
"@types/node": {
"version": "10.14.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.6.tgz",
"integrity": "sha512-Fvm24+u85lGmV4hT5G++aht2C5I4Z4dYlWZIh62FAfFO/TfzXtPpoLI6I7AuBWkIFqZCnhFOoTT7RjjaIL5Fjg=="
"version": "10.14.7",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.7.tgz",
"integrity": "sha512-on4MmIDgHXiuJDELPk1NFaKVUxxCFr37tm8E9yN6rAiF5Pzp/9bBfBHkoexqRiY+hk/Z04EJU9kKEb59YqJ82A=="
},
"@types/nodemailer": {
"version": "4.6.5",

View File

@@ -39,7 +39,7 @@
"dependencies": {
"@types/geojson": "1.0.6",
"@types/json-patch": "0.0.30",
"@types/node": "10.14.6",
"@types/node": "10.14.7",
"fast-clone": "1.5.13",
"json-patch": "0.7.0",
"jsonschema": "1.2.4",
@@ -47,7 +47,7 @@
},
"devDependencies": {
"@krlwlfrt/async-pool": "0.1.0",
"@openstapps/configuration": "0.14.0",
"@openstapps/configuration": "0.16.0",
"@openstapps/core-tools": "0.6.0",
"@openstapps/logger": "0.1.0",
"@types/chai": "4.1.7",
@@ -90,6 +90,9 @@
},
"openstappsConfiguration": {
"hasCli": false,
"ignoreCiEntries": [
"build"
],
"standardBuild": false,
"standardDocumentation": false
}