Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(website): update to yarn 4 #3801

Merged
merged 3 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: '18.x'
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Check formatting of project files
run: yarn format:check

Expand All @@ -29,6 +29,6 @@ jobs:
with:
node-version: '18.x'
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Lint JavaScript files
run: yarn lint:js
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
node-version: 18.x
- name: Install packages
run: yarn install --frozen-lockfile --network-timeout 300000
run: yarn install --immutable --network-timeout 300000
- name: Gatsby Cache Folder
uses: actions/cache@v3
id: gatsby-cache-folder
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

nmHoistingLimits: workspaces
2 changes: 1 addition & 1 deletion docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

1. Update and install dependencies
```bash
git pull upstream main && yarn install --frozen-lockfile
git pull upstream main && yarn install --immutable
```
2. Run build and test locally

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"workspaces": {
"packages": [
"plugins/*"
],
"nohoist": []
]
},
"scripts": {
"dev": "NODE_OPTIONS='--max-old-space-size=8192' gatsby develop -H 0.0.0.0",
Expand Down Expand Up @@ -117,5 +116,6 @@
},
"resolutions": {
"webpack": "^5.59.0"
}
},
"packageManager": "[email protected]"
}
Loading
Loading