From e290d4b0410cad5429234e210295870323acf433 Mon Sep 17 00:00:00 2001 From: Nicolas Lepage <19571875+nlepage@users.noreply.github.com> Date: Tue, 21 Jun 2022 14:34:39 +0200 Subject: [PATCH] fix node version to 16.14.0 --- .circleci/config.yml | 9 +++++++-- README.md | 2 +- package-lock.json | 6 ++++-- package.json | 4 +++- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 828e6d337..71d72c10d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,8 @@ version: 2.1 +orbs: + browser-tools: circleci/browser-tools@1.3.0 + workflows: version: 2 build-and-test: @@ -13,10 +16,12 @@ workflows: jobs: build-and-test: docker: - - image: circleci/node:12.14.0-browsers + - image: cimg/node:16.14.0-browsers steps: + - browser-tools/install-chrome + - browser-tools/install-chromedriver - checkout - - run: npm ci + - run: npm ci --no-audit - run: npm run lint:js - run: npm run lint:hbs - run: npm test diff --git a/README.md b/README.md index db0ca31cb..3a3f3d6e1 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Plus d'informations sur les [tags git ici](https://git-scm.com/book/fr/v2/Les-ba * `git clone https://github.com/1024pix/pix-ui.git` * `cd pix-ui` -* `npm install` +* `npm install --no-audit` ##### Création d'un composant Pix-UI diff --git a/package-lock.json b/package-lock.json index 06e522abe..686cbd8a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,8 @@ "packages": { "": { "name": "@1024pix/pix-ui", - "version": "13.4.2", + "version": "14.4.0", + "hasInstallScript": true, "license": "MIT", "dependencies": { "ember-cli-babel": "^7.26.6", @@ -79,7 +80,8 @@ "sass": "^1.37.5" }, "engines": { - "node": "^16.13.0" + "node": "16.14.0", + "npm": "8.3.1" } }, "node_modules/@1024pix/ember-testing-library": { diff --git a/package.json b/package.json index 800a699e4..3a248608e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "license": "MIT", "author": "GIP Pix", "engines": { - "node": "^16.13.0" + "node": "16.14.0", + "npm": "8.3.1" }, "ember": { "edition": "octane" @@ -33,6 +34,7 @@ "lint:hbs:fix": "npm run lint:hbs -- --fix", "lint:js": "eslint .", "lint:js:fix": "npm run lint:js -- --fix", + "preinstall": "npx check-engine", "start": "ember serve", "storybook": "ember build && ember serve & start-storybook -p 9001 -s dist", "test": "ember test",