diff --git a/.circleci/config.yml b/.circleci/config.yml index a7882055..b90f9c7a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ commands: description: "Commands run on each Node.js job" steps: - oss/install_specific_npm_version: - version: "7.20.2" + version: "8.5.0" - checkout - oss/npm_clean_install_with_caching - run: @@ -50,7 +50,7 @@ jobs: - image: cimg/node:17.3 steps: - oss/install_specific_npm_version: - version: "7.20.2" + version: "8.5.0" - checkout - oss/npm_clean_install_with_caching - run: diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 887f4274..4af1570a 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,4 +1,5 @@ { "sandboxes": [], - "node": "16" + "node": "16", + "installCommand": "install-with-npm-8.5" } diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 249a35e4..b8602127 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -21,8 +21,8 @@ jobs: with: node-version: 16.x - - name: Ensure npm version 7.20.2 - run: npm i -g npm@7.20.2 + - name: Ensure npm version 8.5.0 + run: npm i -g npm@8.5.0 - name: Install Dependencies run: npm i diff --git a/package.json b/package.json index e40466a1..61423e0a 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "postinstall": "npm run build", "test": "jest --verbose", "watch": "tsc --build --watch", - "changeset-publish": "changeset publish" + "changeset-publish": "changeset publish", + "install-with-npm-8.5": "npm i -g npm@^8.5.0 && npm i" }, "workspaces": [ "packages/*"