Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 20 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ version: 2
aliases:
- &install
run: sudo npm install -g yarn && yarn install --frozen-lockfile --ignore-optional

defaults: &defaults
working_directory: ~/repo
docker:
- image: circleci/node:10
steps:
- checkout
- <<: *install
- run: npm test
- &defaults
working_directory: ~/repo
docker:
- image: circleci/node:12
steps:
- checkout
- <<: *install
- run: npm test

jobs:
test-node8:
Expand Down Expand Up @@ -58,6 +57,14 @@ jobs:
export PATH="$(yarn bin):$PATH"
pipenv run make html

cover:
<<: *defaults
steps:
- checkout
- <<: *install
- run: npm run cover
- run: npm run coveralls

workflows:
version: 2
test-publish:
Expand All @@ -68,3 +75,7 @@ workflows:
- test-smoke
- lint
- docs
- cover:
requires:
- test-node12

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@
"lint": "lerna exec --scope='*' --concurrency 1 --no-bail -- npm run lint",
"lint:fix": "lerna exec --scope='*' --concurrency 1 --no-bail -- npm run lint:fix",
"test": "lerna exec --scope='*' --concurrency 1 --no-bail -- npm run test",
"cover": "exit 0"
"cover": "nyc npm test",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"devDependencies": {
"@commitlint/cli": "7.3.2",
"@commitlint/config-conventional": "7.3.1",
"coveralls": "^3.0.4",
"eslint": "^5.9.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"jsdoc": "^3.5.5",
"lerna": "^3.4.0"
"lerna": "^3.4.0",
"nyc": "^14.1.1"
}
}
Loading