mirror of
https://github.com/fullstack-cash/explorer.fullstack.cash.git
synced 2026-09-22 09:12:05 -07:00
fix(semantic release): Adding semantic release
This commit is contained in:
+33
@@ -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
|
||||
Generated
+5602
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user