Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
feat(ci): add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
holvonixAdvay committed Jul 20, 2019
1 parent 363ebf2 commit 06a4aa1
Show file tree
Hide file tree
Showing 5 changed files with 2,736 additions and 53 deletions.
4 changes: 4 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ update_configs:
- match:
dependency_type: "production"
update_type: "semver:minor"
commit_message:
prefix: "fix"
prefix_development: "chore"
include_scope: true
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ install:
before_script:
- export FAKE_HOSTNAME=travis-box
script: yarn test-coverage
after_success: yarn semantic-release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# request-stream-promise - Promise for streamed downloads using request

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE) ![npm](https://img.shields.io/npm/v/request-stream-promise.svg) [![Build Status](https://travis-ci.com/holvonix-open/request-stream-promise.svg?branch=master)](https://travis-ci.com/holvonix-open/request-stream-promise) [![GitHub last commit](https://img.shields.io/github/last-commit/holvonix-open/request-stream-promise.svg)](https://github.com/holvonix-open/request-stream-promise/commits) [![codecov](https://codecov.io/gh/holvonix-open/request-stream-promise/branch/master/graph/badge.svg)](https://codecov.io/gh/holvonix-open/request-stream-promise) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=holvonix-open/request-stream-promise)](https://dependabot.com) [![DeepScan grade](https://deepscan.io/api/teams/4465/projects/6260/branches/51418/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=4465&pid=6260&bid=51418) [![Code Style: Google](https://img.shields.io/badge/code%20style-google-blueviolet.svg)](https://github.com/google/gts)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE) ![npm](https://img.shields.io/npm/v/request-stream-promise.svg) [![Build Status](https://travis-ci.com/holvonix-open/request-stream-promise.svg?branch=master)](https://travis-ci.com/holvonix-open/request-stream-promise) [![GitHub last commit](https://img.shields.io/github/last-commit/holvonix-open/request-stream-promise.svg)](https://github.com/holvonix-open/request-stream-promise/commits) [![codecov](https://codecov.io/gh/holvonix-open/request-stream-promise/branch/master/graph/badge.svg)](https://codecov.io/gh/holvonix-open/request-stream-promise) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=holvonix-open/request-stream-promise)](https://dependabot.com) [![DeepScan grade](https://deepscan.io/api/teams/4465/projects/6260/branches/51418/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=4465&pid=6260&bid=51418) [![Code Style: Google](https://img.shields.io/badge/code%20style-google-blueviolet.svg)](https://github.com/google/gts) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)


## Quick Start
Expand Down
19 changes: 18 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,29 @@
"prepare": "yarn clean && yarn check && yarn run compile",
"pretest": "yarn run compile",
"posttest": "yarn run check",
"preversion": "yarn test"
"preversion": "yarn test",
"semantic-release": "semantic-release"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"dependencies": {
"bluebird": "^3.5.5",
"request": "^2.88.0"
},
"devDependencies": {
"@semantic-release/changelog": "^3.0.4",
"@semantic-release/commit-analyzer": "^6.2.0",
"@semantic-release/git": "^7.0.16",
"@semantic-release/github": "^5.4.2",
"@semantic-release/release-notes-generator": "^7.2.1",
"@types/bluebird": "^3.5.27",
"@types/mocha": "^5.2.5",
"@types/nock": "^10.0.3",
Expand All @@ -77,6 +93,7 @@
"mocha": "^6.1.4",
"nock": "^10.0.6",
"nyc": "^14.1.1",
"semantic-release": "^15.13.18",
"tmp-promise": "^2.0.2",
"ts-mocha": "^6.0.0",
"typescript": "~3.5.0"
Expand Down
Loading

0 comments on commit 06a4aa1

Please sign in to comment.