diff --git a/.circleci/config.yml b/.circleci/config.yml index 828e6d337..d0f1d5f71 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,10 +13,10 @@ workflows: jobs: build-and-test: docker: - - image: circleci/node:12.14.0-browsers + - image: cimg/node:16.14.0-browsers steps: - 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/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",