From f9ade27c09098c32ce9755fd548fb8afeab01099 Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Wed, 5 May 2021 15:42:37 -0700 Subject: [PATCH] Use Node 12 (#59) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Use node 12 * Add node 12 to dependabot config Co-authored-by: Esteban MiƱo --- .circleci/config.yml | 8 ++++---- .nvmrc | 2 +- package.json | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) 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",