Skip to content

Commit

Permalink
fix(semantic): add semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Jan 24, 2021
1 parent 76ecf5c commit 9f1d062
Show file tree
Hide file tree
Showing 5 changed files with 3,616 additions and 52 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ jobs:

- codecov/upload:
file: {{ coverage_report_filepath }}

- run: yarn semantic-release
11 changes: 11 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
release:
branches:
- master
- next
repositoryUrl: https://github.com/gadicc/node-yahoo-finance2
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- "@semantic-release/npm"
- "@semantic-release/github"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Community API for Yahoo-Finance

Copyright (c) 2021 by Gadi Cohen <[email protected]>. MIT licensed.

![npm](https://img.shields.io/npm/v/yahoo-finance2) [![CircleCI](https://img.shields.io/circleci/build/github/gadicc/node-yahoo-finance2)](https://circleci.com/gh/gadicc/node-yahoo-finance2) [![coverage](https://img.shields.io/codecov/c/github/gadicc/node-yahoo-finance2)](https://codecov.io/gh/gadicc/node-yahoo-finance2) ![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)
![npm](https://img.shields.io/npm/v/yahoo-finance2) [![CircleCI](https://img.shields.io/circleci/build/github/gadicc/node-yahoo-finance2)](https://circleci.com/gh/gadicc/node-yahoo-finance2) [![coverage](https://img.shields.io/codecov/c/github/gadicc/node-yahoo-finance2)](https://codecov.io/gh/gadicc/node-yahoo-finance2) ![MIT License](https://img.shields.io/badge/license-MIT-blue.svg) [![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)

In active development. During the v0.x development cycle, API may change
without notice. Use the original
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@
"typescript": "^4.1.3"
},
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/github": "^7.2.0",
"@semantic-release/npm": "^7.0.10",
"@semantic-release/release-notes-generator": "^9.0.1",
"@types/jest": "^26.0.20",
"eslint": "^7.18.0",
"jest": "^26.6.3",
"semantic-release": "^17.3.7",
"ts-jest": "^26.4.4"
}
}
Loading

0 comments on commit 9f1d062

Please sign in to comment.