Skip to content

Commit

Permalink
chore(semantic-release): add semantic release to circle ci (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
eth0lo authored Sep 14, 2018
1 parent b7df1fa commit 26f2d09
Show file tree
Hide file tree
Showing 4 changed files with 6,132 additions and 67 deletions.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/node:7.10
- image: circleci/node:8.11

working_directory: ~/juru

Expand Down Expand Up @@ -40,3 +40,7 @@ jobs:
./cc-test-reporter before-build
npm test
./cc-test-reporter after-build --coverage-input-type lcov --exit-code $?
- run:
name: Release
command: npm run semantic-release || true
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<a href="https://standardjs.com">
<img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square" alt="Standard - JavaScript Style Guide">
</a>
<a href="https://github.com/semantic-release/semantic-release">
<img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square" alt="Standard - JavaScript Style Guide">
</a>
</p>

Juru can be used to give visibility of side-effects (i.e. asynchronous data fetching, storing data) that happens during the application runtime; making the application easier to test, and better at handling failures.
Expand Down Expand Up @@ -87,7 +90,7 @@ test('should request user information both locally and remotely', (assert) => {
call(externalService, 'findUser', externalIdMock)
call(insternalStorage, 'findUserByExternalId', externalIdMock)
))

assert.end()
})

Expand Down
Loading

0 comments on commit 26f2d09

Please sign in to comment.