Skip to content

Commit

Permalink
Merge pull request #2 from WanJS/dev
Browse files Browse the repository at this point in the history
1.0.4 add test and coverage
  • Loading branch information
tyrion70 committed Sep 8, 2018
2 parents e48e659 + 7403d9b commit 5fc9f5c
Show file tree
Hide file tree
Showing 5 changed files with 2,154 additions and 32 deletions.
34 changes: 8 additions & 26 deletions .circleci/config.yml
Expand Up @@ -5,20 +5,16 @@ workflows:
full_test:
jobs:
- prep-deps-npm
- test:
requires:
- prep-deps-npm
# - test-lint:
# requires:
# - prep-deps-npm
# - test-unit:
# requires:
# - prep-deps-npm
- test-unit:
requires:
- prep-deps-npm
- all-tests-pass:
requires:
# - test-lint
# - test-unit
- test
- test-unit
- job-publish-release:
filters:
branches:
Expand All @@ -39,24 +35,10 @@ jobs:
name: Install npm 6 + deps via npm
command: |
sudo npm install -g npm@6 && npm install --no-save
# - persist_to_workspace:
# root: .
# paths:
# - node_modules
# - save_cache:
# key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
# paths:
# - node_modules
test:
docker:
- image: circleci/node:10
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Test
command: npm test
- persist_to_workspace:
root: .
paths:
- node_modules
test-lint:
docker:
- image: circleci/node:10
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
@@ -1 +1,3 @@
.idea
.nyc_output/
node_modules/

0 comments on commit 5fc9f5c

Please sign in to comment.