From ce97bbd4d94ce764590cf697d1b07a6ffd0bc9e0 Mon Sep 17 00:00:00 2001 From: Jeff Largent Date: Thu, 7 Jan 2021 10:26:27 -0500 Subject: [PATCH] Update canvas-rce-api to require Node v12 closes LS-1711 flag = none Test plan: General regression of old and new RCE functionality. Predominantly: - Viewing/adding/editing links - Viewing and uploading images and files - Searching for and inserting images from Unsplash - Viewing, recording, and uploading media via Notorious Change-Id: Icd0f7274a2b81ef982a95beacdd979160bdfc6a6 Reviewed-on: https://gerrit.instructure.com/c/canvas-rce-api/+/256217 Tested-by: Service Cloud Jenkins Reviewed-by: Robin Kuss QA-Review: Robin Kuss Product-Review: Jeff Largent --- .nvmrc | 1 + Dockerfile | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..ad50938 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +lts/erbium \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index b122425..3cf2cd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM instructure/node-passenger:10 +FROM instructure/node-passenger:12 COPY . /usr/src/app RUN npm install diff --git a/package.json b/package.json index c6548a4..24827b3 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.14.0", "description": "An API for proxying requests by the RCE to Canvas and other services.", "engines": { - "node": "^10", + "node": "^12", "npm": "^6" }, "mocha": {