Merge pull request #933 from betagouv/normalize-node-version-to-lts

🐛 Use node 12.16.1 everywhere
pull/939/head
Alexandre Hajjar 2020-03-23 17:30:06 +01:00 committed by GitHub
commit 9ef861e45a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

1
.node-version Normal file
View File

@ -0,0 +1 @@
12.16.1

View File

@ -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

View File

@ -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",