fix(semantic release): Adding semantic release

This commit is contained in:
Chris Troutner
2020-07-06 11:01:46 -07:00
parent bc67b1500f
commit 07d1462563
3 changed files with 5646 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# This is a node.js v8+ JavaScript project
language: node_js
node_js:
- "10"
# Build on Ubuntu Trusty (14.04)
# https://docs.travis-ci.com/user/reference/trusty/#javascript-and-nodejs-images
dist: xenial
sudo: required
# Use Docker
services:
- docker
before_install:
#- npm install -g mocha
# https://github.com/greenkeeperio/greenkeeper-lockfile/issues/156
#install: case $TRAVIS_BRANCH in greenkeeper*) npm i;; *) npm ci;; esac;
install:
- npm install
script: "npm run test"
# Send coverage data to Coveralls
after_success:
- npm run coverage
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
+5602
View File
File diff suppressed because it is too large Load Diff
+11
View File
@@ -22,5 +22,16 @@
},
"bugs": {
"url": "https://github.com/Permissionless-Software-Foundation/bch-wallet-starter/issues"
},
"devDependencies": {
"semantic-release": "^17.1.1"
},
"release": {
"publish": [
{
"path": "@semantic-release/npm",
"npmPublish": false
}
]
}
}