diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index ecbe716a3..f72891269 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -57,7 +57,7 @@ jobs: - if: steps.cache-node-modules.outputs.cache-hit != 'true' name: Install dependencies - run: npm install + run: npm ci - name: Get cached build id: cached-build diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 0a339314c..fe81aee09 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -53,7 +53,7 @@ jobs: - if: steps.cache-node-modules.outputs.cache-hit != 'true' name: Install dependencies - run: npm install + run: npm ci - name: Get cached build id: cached-build diff --git a/.npmrc b/.npmrc index 521a9f7c0..d5831dd51 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ +engine-strict=true legacy-peer-deps=true diff --git a/package-lock.json b/package-lock.json index d0645798d..d168909fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -153,7 +153,8 @@ "xml2js": "^0.5.0" }, "engines": { - "node": ">=18" + "node": ">=18", + "npm": ">=9" }, "workspaces": { "packages": [ diff --git a/package.json b/package.json index 78e8b3f6e..445c38e20 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,8 @@ "xml2js": "^0.5.0" }, "engines": { - "node": ">=18" + "node": ">=18", + "npm": ">=9" }, "license": "MIT", "lint-staged": {