Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH] Utiliser la nouvelle version LTS de node 16.12. #3638

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ workflows:
jobs:
checkout:
docker:
- image: circleci/node:14.17.0
- image: cimg/node:16.12.0
resource_class: small
working_directory: ~/pix
steps:
Expand All @@ -86,7 +86,7 @@ jobs:

api_build_and_test:
docker:
- image: circleci/node:14.17.0
- image: cimg/node:16.12.0
- image: postgres:13.3-alpine
environment:
POSTGRES_USER: circleci
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:

mon_pix_build_and_test:
docker:
- image: circleci/node:14.17.0-browsers
- image: cimg/node:16.12.0-browsers
environment:
# See https://git.io/vdao3 for details.
JOBS: 2
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:

orga_build_and_test:
docker:
- image: circleci/node:14.17.0-browsers
- image: cimg/node:16.12.0-browsers
environment:
JOBS: 2
resource_class: small
Expand All @@ -176,7 +176,7 @@ jobs:

certif_build_and_test:
docker:
- image: circleci/node:14.17.0-browsers
- image: cimg/node:16.12.0-browsers
environment:
JOBS: 2
resource_class: small
Expand All @@ -202,7 +202,7 @@ jobs:

admin_build_and_test:
docker:
- image: circleci/node:14.17.0-browsers
- image: cimg/node:16.12.0-browsers
environment:
JOBS: 2
resource_class: small
Expand All @@ -228,7 +228,7 @@ jobs:

e2e_test:
docker:
- image: cypress/browsers:node14.17.0-chrome91-ff89
- image: cypress/browsers:node16.5.0-chrome94-ff93
- image: postgres:13.3-alpine
environment:
POSTGRES_USER: circleci
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:

algo_test:
docker:
- image: circleci/node:14.17.0
- image: cimg/node:16.12.0
resource_class: small
parallelism: 1
working_directory: ~/pix/high-level-tests/test-algo
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17.0
16.12.0
2 changes: 1 addition & 1 deletion INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Vous devez au préalable avoir correctement installé les logiciels suivants :

* [Git](https://git-scm.com/) (2.6.4)
* [Node.js](https://nodejs.org/) (v14.17.0) et NPM (6.14.13)
* [Node.js](https://nodejs.org/) (v16.12.0) et NPM (8.1.0)
* [Docker](https://docs.docker.com/get-started/) (20.10) avec [Docker Compose](https://docs.docker.com/compose/install/)

> ⚠️ Les versions indiquées sont celles utilisées et préconisées par l'équipe de développement. Il est possible que l'application fonctionne avec des versions différentes.
Expand Down
4 changes: 2 additions & 2 deletions admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"license": "AGPL-3.0",
"author": "GIP Pix",
"engines": {
"node": "14.17.0",
"npm": "6.14.13"
"node": "16.12.0",
"npm": "8.1.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"license": "AGPL-3.0",
"author": "GIP Pix",
"engines": {
"node": "14.17.0",
"npm": "6.14.13"
"node": "16.12.0",
"npm": "8.1.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions certif/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"license": "AGPL-3.0",
"author": "GIP Pix",
"engines": {
"node": "14.17.0",
"npm": "6.14.13"
"node": "16.12.0",
"npm": "8.1.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions high-level-tests/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"homepage": "https://github.com/1024pix/pix#readme",
"author": "GIP Pix",
"engines": {
"node": "14.17.0",
"npm": "6.14.13"
"node": "16.12.0",
"npm": "8.1.0"
},
"license": "AGPL-3.0",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions high-level-tests/load-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"homepage": "https://github.com/1024pix/pix/tree/dev/high-level-tests/load-testing#readme",
"author": "GIP Pix",
"engines": {
"node": "14.17.0",
"npm": "6.14.13"
"node": "16.12.0",
"npm": "8.1.0"
},
"license": "ISC",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions mon-pix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"license": "AGPL-3.0",
"author": "GIP Pix",
"engines": {
"node": "14.17.0",
"npm": "6.14.13"
"node": "16.12.0",
"npm": "8.1.0"
},
"ember": {
"edition": "octane"
Expand Down
4 changes: 2 additions & 2 deletions orga/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"license": "AGPL-3.0",
"author": "GIP Pix",
"engines": {
"node": "14.17.0",
"npm": "6.14.13"
"node": "16.12.0",
"npm": "8.1.0"
},
"ember": {
"edition": "octane"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"license": "AGPL-3.0",
"author": "GIP Pix",
"engines": {
"node": "14.17.0",
"npm": "6.14.13"
"node": "16.12.0",
"npm": "8.1.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -e
set -o pipefail

EXPECTED_NODE_VERSION="v14.17.0"
EXPECTED_NPM_VERSION="6.14.13"
EXPECTED_NODE_VERSION="v16.12.0"
EXPECTED_NPM_VERSION="8.1.0"

function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }

Expand Down