From e2403f03cae3a0763b9f0bb8b9ff675f70d09411 Mon Sep 17 00:00:00 2001 From: lajarre Date: Thu, 19 Mar 2020 12:39:02 +0100 Subject: [PATCH] :bug: Use node 12.16.1 everywhere * package.json min version * circle dockerimages * adding .node-version (notably useful for Netlify) * plus: yarn.lock upgraded using node 12.16.1 --- .node-version | 1 + circle.yml | 12 ++++++------ package.json | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 .node-version diff --git a/.node-version b/.node-version new file mode 100644 index 000000000..66df3b7ab --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +12.16.1 diff --git a/circle.yml b/circle.yml index 47e860be3..778177bf2 100644 --- a/circle.yml +++ b/circle.yml @@ -32,21 +32,21 @@ commands: jobs: type-check: docker: - - image: node + - image: node:12.16.1-buster steps: - install - run: | yarn run type-check i18n-check: docker: - - image: node + - image: node:12.16.1-buster steps: - install - run: yarn run i18n:rules:check - run: yarn run i18n:ui:check unit-test: docker: - - image: node + - image: node:12.16.1-buster steps: - install - run: | @@ -55,7 +55,7 @@ jobs: end-to-end-test: docker: - - image: cypress/base:10 + - image: cypress/base:12.16.1 environment: TERM: xterm steps: @@ -72,7 +72,7 @@ jobs: bundlesize-test: docker: - - image: cypress/base:10 + - image: cypress/base:12.16.1 environment: TERM: xterm steps: @@ -83,7 +83,7 @@ jobs: production-end-to-end-test: docker: - - image: cypress/base:10 + - image: cypress/base:12.16.1 environment: TERM: xterm parallelism: 3 diff --git a/package.json b/package.json index fc79c8d38..75f5da648 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "url": "https://github.com/betagouv/mon-entreprise.git" }, "engines": { - "node": ">=8.10.0" + "node": ">=12.16.1" }, "browserslist": [ "> 1% in FR",