Skip to content

Commit

Permalink
Merge pull request #146 from xmtp/rygine/upgrade-yarn
Browse files Browse the repository at this point in the history
Upgrade Yarn to 4.0.2
  • Loading branch information
rygine authored Jan 3, 2024
2 parents be2410f + 75a7191 commit f38d77a
Show file tree
Hide file tree
Showing 8 changed files with 4,476 additions and 4,134 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ jobs:
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn
- name: Check code format
Expand All @@ -32,10 +30,8 @@ jobs:
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn
- name: Lint
Expand All @@ -51,10 +47,8 @@ jobs:
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Enable corepack
run: corepack enable
- name: Start docker container
run: ./dev/up
- name: Install dependencies
Expand All @@ -74,10 +68,8 @@ jobs:
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn
- name: Check types
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ jobs:
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn
- name: Build typedocs
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ jobs:
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn
- name: Publish
Expand Down
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
compressionLevel: mixed

enableGlobalCache: false

enableTelemetry: false

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
yarnPath: .yarn/releases/yarn-4.0.2.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"prettier": "^3.1.0",
"turbo": "^1.10.16"
},
"packageManager": "yarn@3.4.1",
"packageManager": "yarn@4.0.2",
"engines": {
"node": ">=18"
},
Expand Down
Loading

0 comments on commit f38d77a

Please sign in to comment.