diff --git a/.circleci/config.yml b/.circleci/config.yml index 12cd95e2..770867c9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,7 @@ workflows: jobs: prep-deps: docker: - - image: circleci/node:10 + - image: circleci/node:12 steps: - checkout - run: @@ -37,7 +37,7 @@ jobs: test-build: docker: - - image: circleci/node:10 + - image: circleci/node:12 steps: - checkout - attach_workspace: @@ -48,7 +48,7 @@ jobs: test-lint: docker: - - image: circleci/node:10 + - image: circleci/node:12 steps: - checkout - attach_workspace: @@ -59,7 +59,7 @@ jobs: all-tests-pass: docker: - - image: circleci/node:10 + - image: circleci/node:12 steps: - run: name: All tests passed diff --git a/.nvmrc b/.nvmrc index e338b865..dae199ae 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v10 +v12 diff --git a/package.json b/package.json index 99cceba1..96298ca7 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "@metamask/mobile-provider", "version": "2.0.1", "main": "dist/index.js", + "engines": { + "node": ">=12.0.0" + }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "yarn build:prep && yarn build:inpage && yarn build:contentscript && yarn build:concat && yarn build:bundle",