From 28068e9efa9adda0b4b0be16bb24f8d466ea81ad Mon Sep 17 00:00:00 2001 From: Chris Blossom Date: Mon, 7 May 2018 15:52:12 -0700 Subject: [PATCH] Add node 10 to CI --- .circleci/config.yml | 32 ++++++++++++++++++++++++++++++++ appveyor.yml | 1 + 2 files changed, 33 insertions(+) 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