Skip to content

Commit

Permalink
fix(ci): fix build and update badge
Browse files Browse the repository at this point in the history
  • Loading branch information
galenwarren committed Jul 7, 2018
1 parent c1dc450 commit c781c31
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
13 changes: 8 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ jobs:
steps:
- checkout
- run:
name: install
name: Install
command: npm install
- run:
name: test
command: npm run coverage:coveralls
name: Test and Validate Coverage
command: npm run coverage:ci
- run:
name: build
name: Publish Coverage
command: npm run coverage:publish
- run:
name: Build
command: npm run build
- run:
name: release
name: Release
command: npm run semantic-release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# awilix-groa

[![CircleCI](https://circleci.com/gh/galenwarren/awilix-groa/tree/master.svg?style=svg)](https://circleci.com/gh/galenwarren/awilix-groa/tree/master)
[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest) [![Coverage Status](https://coveralls.io/repos/github/galenwarren/awilix-groa/badge.svg?branch=master)](https://coveralls.io/github/galenwarren/awilix-groa?branch=master)
[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest) [![Coverage Status](https://img.shields.io/coveralls/github/galenwarren/awilix-groa/master.svg)](https://img.shields.io/coveralls/github/galenwarren/awilix-groa/master.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)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
"lint": "npm run lint:specific \"$npm_package_directories_src/**/*.js\"",
"lint:specific": "prettier-eslint \"$@\" --write",
"test": "jest",
"cz": "git-cz",
"test:watch": "jest --watch",
"coverage": "jest --coverage --no-cache",
"coverage:watch": "jest --coverage --no-cache --watch",
"coverage:coveralls": "jest --coverage --no-cache --coverageReporters=text-lcov | coveralls",
"coverage:ci": "jest --coverage --no-cache --ci --coverageReporters=text-lcov > $npm_package_directories_coverage/lcov.info",
"coverage:publish": "cat $npm_package_directories_coverage/lcov.info | coveralls",
"cz": "git-cz",
"build": "BABEL_ENV=build babel $npm_package_directories_src -d $npm_package_directories_dist",
"semantic-release": "semantic-release",
"docs": "jsdoc -d $npm_package_directories_docs \"$npm_package_directories_src\""
Expand All @@ -28,7 +29,8 @@
"directories": {
"src": "./src",
"dist": "./dist",
"docs": "./docs"
"docs": "./docs",
"coverage": "./coverage"
},
"keywords": [
"awilix",
Expand Down

0 comments on commit c781c31

Please sign in to comment.