Skip to content
Open
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
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ jobs:
at: ~/
- run: yarn test

coverage:
<<: *defaults
steps:
- attach_workspace:
at: ~/
- run: yarn test:coverage
- run: yarn codecov

workflows:
version: 2
build-and-test:
Expand All @@ -70,3 +78,6 @@ workflows:
- test:
requires:
- install
- coverage:
requires:
- install
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"test:ts": "jest",
"test:babel": "cross-env BABEL_TEST=1 jest",
"test:dts": "tsc -p ./test-dts",
"test:coverage": "cross-env BABEL_TEST=1 jest --coverage",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs",
Expand Down Expand Up @@ -63,6 +64,7 @@
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"conventional-changelog-cli": "^2.1.0",
"codecov": "^3.8.1",
"cross-env": "^7.0.3",
"css-loader": "^4.2.1",
"jest": "^26.4.2",
Expand Down