Skip to content

Commit

Permalink
Update circle
Browse files Browse the repository at this point in the history
Test coverage against 14 LTS, drop 13
  • Loading branch information
Fletcher91 committed Jun 19, 2020
1 parent 5bcad37 commit 2a98791
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,34 @@ jobs:
paths:
- cc-test-reporter

build-node-13:
build-node-14:
<<: *defaults
docker:
- image: circleci/node:13
- image: circleci/node:14
steps:
- checkout
- attach_workspace:
at: ~/link-redux/tmp
- restore_cache:
keys:
- v1-dependencies-13-{{ checksum "package.json" }}
- v1-dependencies-14-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-13-
- v1-dependencies-14-

- run: yarn install

- save_cache:
paths:
- node_modules
key: v1-dependencies-13-{{ checksum "package.json" }}
key: v1-dependencies-14-{{ checksum "package.json" }}
- run: yarn lint
- run: yarn test
- run: ./tmp/cc-test-reporter format-coverage -t lcov -o ~/link-redux/tmp/codeclimate.node-13.json coverage/lcov.info
- run: ./tmp/cc-test-reporter format-coverage -t lcov -o ~/link-redux/tmp/codeclimate.node-14.json coverage/lcov.info
- run: yarn build
- persist_to_workspace:
root: tmp
paths:
- codeclimate.node-13.json
- codeclimate.node-14.json

build-node-12:
<<: *defaults
Expand Down Expand Up @@ -88,10 +88,11 @@ workflows:
commit:
jobs:
- build
- build-node-13:
- build-node-14:
requires:
- build
- build-node-15
- build-node-12
- upload-coverage:
requires:
- build-node-13
- build-node-14

0 comments on commit 2a98791

Please sign in to comment.