Skip to content

Commit

Permalink
Update pinned npm versions to 8.5.0 for fixed workspace support
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer committed Feb 12, 2022
1 parent 08e8b84 commit 6c94067
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"sandboxes": [],
"node": "16"
"node": "16",
"installCommand": "install-with-npm-8.5"
}
4 changes: 2 additions & 2 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"
Expand Down

0 comments on commit 6c94067

Please sign in to comment.