This repository was archived by the owner on Nov 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +524
-29
lines changed Expand file tree Collapse file tree 3 files changed +524
-29
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,14 @@ version: 2
33aliases :
44 - &install
55 run : sudo npm install -g yarn && yarn install --frozen-lockfile --ignore-optional
6-
7- defaults : &defaults
8- working_directory : ~/repo
9- docker :
10- - image : circleci/node:10
11- steps :
12- - checkout
13- - << : *install
14- - run : npm test
6+ - &defaults
7+ working_directory : ~/repo
8+ docker :
9+ - image : circleci/node:12
10+ steps :
11+ - checkout
12+ - << : *install
13+ - run : npm test
1514
1615jobs :
1716 test-node8 :
5857 export PATH="$(yarn bin):$PATH"
5958 pipenv run make html
6059
60+ cover :
61+ << : *defaults
62+ steps :
63+ - checkout
64+ - << : *install
65+ - run : npm run cover
66+ - run : npm run coveralls
67+
6168workflows :
6269 version : 2
6370 test-publish :
@@ -68,3 +75,7 @@ workflows:
6875 - test-smoke
6976 - lint
7077 - docs
78+ - cover :
79+ requires :
80+ - test-node12
81+
Original file line number Diff line number Diff line change 1111 "lint" : " lerna exec --scope='*' --concurrency 1 --no-bail -- npm run lint" ,
1212 "lint:fix" : " lerna exec --scope='*' --concurrency 1 --no-bail -- npm run lint:fix" ,
1313 "test" : " lerna exec --scope='*' --concurrency 1 --no-bail -- npm run test" ,
14- "cover" : " exit 0"
14+ "cover" : " nyc npm test" ,
15+ "coveralls" : " nyc report --reporter=text-lcov | coveralls"
1516 },
1617 "devDependencies" : {
1718 "@commitlint/cli" : " 7.3.2" ,
1819 "@commitlint/config-conventional" : " 7.3.1" ,
20+ "coveralls" : " ^3.0.4" ,
1921 "eslint" : " ^5.9.0" ,
2022 "eslint-config-airbnb-base" : " ^13.1.0" ,
2123 "eslint-plugin-import" : " ^2.14.0" ,
2224 "jsdoc" : " ^3.5.5" ,
23- "lerna" : " ^3.4.0"
25+ "lerna" : " ^3.4.0" ,
26+ "nyc" : " ^14.1.1"
2427 }
2528}
You can’t perform that action at this time.
0 commit comments