diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-05-03 10:37:22 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-05-03 11:28:51 +0300 |
commit | 947af1c3ed0cd94df4f038fc1e2dfb78ad7b656f (patch) | |
tree | a84c4f4725f93019acc08f5c6fde00f9b53b0464 | |
parent | f4c99f086b9198028a6d8351f3ad398c3efd27d3 (diff) |
Drop Node.js 6 support, add 12.
.circleci/config.yml can be simplified a lot, will do it later.
-rw-r--r-- | .circleci/config.yml | 18 | ||||
-rw-r--r-- | package.json | 3 |
2 files changed, 11 insertions, 10 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index c5f7926..697f66a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,22 +20,22 @@ commands: - run: npm --version jobs: - node-6: + node-8: docker: - - image: circleci/node:6-stretch + - image: circleci/node:8-stretch steps: - install - - run: npm install + - run: npm ci - save_cache: key: *npm_cache_filename name: Save npm modules paths: - - ./node_modules/ + - /home/circleci/.npm - run: npm test - node-8: + node-10: docker: - - image: circleci/node:8-stretch + - image: circleci/node:10-stretch steps: - install - run: npm ci @@ -46,9 +46,9 @@ jobs: - /home/circleci/.npm - run: npm test - node-10: + node-12: docker: - - image: circleci/node:10-stretch + - image: circleci/node:12-stretch steps: - install - run: npm ci @@ -63,6 +63,6 @@ workflows: version: 2 test: jobs: - - node-6 - node-8 - node-10 + - node-12 diff --git a/package.json b/package.json index f75542b..4656ea2 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "postcss" ], "engines": { - "node": ">=6" + "node": ">=8" }, "scripts": { "mocha": "mocha", @@ -79,6 +79,7 @@ "array": false } ], + "promise/prefer-await-to-then": "off", "unicorn/prefer-exponentiation-operator": "off" } } |