diff --git a/.circleci/config.yml b/.circleci/config.yml index 3ea4dc9..588e75b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -59,9 +59,41 @@ jobs: - store_artifacts: path: reports/junit + node-10: + working_directory: ~/app + docker: + - image: circleci/node:10 + steps: + - checkout + - restore_cache: + key: dependency-cache-{{ checksum "yarn.lock" }} + - run: + name: yarn + command: npm run yarn + - save_cache: + key: dependency-cache-{{ checksum "yarn.lock" }} + paths: + - node_modules + - run: + name: lint + command: npm run lint + - run: + name: test-jest + command: npm run test-jest -- --ci + environment: + JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml" + - run: + name: report-coverage + command: npm run coverage + - store_test_results: + path: reports/junit + - store_artifacts: + path: reports/junit + workflows: version: 2 test: jobs: - node-6 - node-8 + - node-10 diff --git a/appveyor.yml b/appveyor.yml index 829e570..fe26cea 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,6 +2,7 @@ environment: matrix: - nodejs_version: '6' - nodejs_version: '8' + - nodejs_version: '10' install: - ps: Install-Product node $env:nodejs_version - npm run yarn