diff --git a/.circleci/config.yml b/.circleci/config.yml index 3bf14c7cf..e58bef43e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: working_directory: ~/Clever/components docker: - - image: circleci/node:10.15.3-stretch + - image: circleci/node:12-stretch environment: CIRCLE_ARTIFACTS: /tmp/circleci-artifacts CIRCLE_TEST_REPORTS: /tmp/circleci-test-results diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +12 diff --git a/Makefile b/Makefile index c02a30d99..2a37ac542 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ include node.mk SHELL = /bin/bash -NODE_VERSION := "v10" +NODE_VERSION := "v12" $(eval $(call node-version-check,$(NODE_VERSION))) JEST := ./node_modules/.bin/jest --maxWorkers=1 --config ./jestconfig.json diff --git a/package.json b/package.json index d68d45ec4..d62a05862 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@types/jest": "^20.0.8", "@types/jest-matchers": "^20.0.0", - "@types/node": "^10.14.12", + "@types/node": "^12.12.24", "@types/react": "^16.8.6", "@typescript-eslint/eslint-plugin": "^1.9.0", "@typescript-eslint/parser": "^1.9.0",