diff --git a/.circleci/config.yml b/.circleci/config.yml index 69dc759..1f6a474 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,18 +1,20 @@ version: 2.1 orbs: - node: circleci/node@3.0.1 + node: circleci/node@5.0.2 + codecov: codecov/codecov@3.1.1 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: diff --git a/jest.config.js b/jest.config.js index 424a81d..a1f6d2e 100644 --- a/jest.config.js +++ b/jest.config.js @@ -21,7 +21,8 @@ module.exports = { ], coverageReporters: [ 'html', - 'text-summary' + 'text-summary', + 'json' ], globals: { 'vue-jest': {