Skip to content

Commit

Permalink
1) Squash codecov related commits to one.
Browse files Browse the repository at this point in the history
1) Added `codecov` to CircleCI.

1) Fix broken CircleCI config.

1) Move `codecov` from workflow to job.

1) Change node version for CircleCI to `lts/gallium`.

1) upgraded CircleCI node orb.

1) Added `json` coverage output for CircleCI.
  • Loading branch information
RobSpectre committed Apr 14, 2022
1 parent 08a8073 commit 46bf704
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
version: 2.1
orbs:
node: circleci/[email protected]
node: circleci/[email protected]
codecov: codecov/[email protected]
jobs:
test:
executor: node/default
steps:
- checkout
- node/install:
install-yarn: true
node-version: latest
install-yarn: false
node-version: lts/gallium
- node/install-packages:
cache-path: ~/hack-party/node_modules
override-ci-command: npm install
- run: npm run test
- codecov/upload
workflows:
node-tests:
jobs:
Expand Down
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ module.exports = {
],
coverageReporters: [
'html',
'text-summary'
'text-summary',
'json'
],
globals: {
'vue-jest': {
Expand Down

0 comments on commit 46bf704

Please sign in to comment.