Skip to content

Commit

Permalink
Update Yarn to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Oct 22, 2023
1 parent 7ad3809 commit b15868d
Show file tree
Hide file tree
Showing 6 changed files with 1,553 additions and 1,583 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Cache .yarn/cache
- name: Cache Yarn cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
path: ~/.yarn/berry/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
Expand Down Expand Up @@ -53,12 +53,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Cache .yarn/cache
- name: Cache Yarn cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
path: ~/.yarn/berry/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
Expand Down Expand Up @@ -88,12 +88,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Cache .yarn/cache
- name: Cache Yarn cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
path: ~/.yarn/berry/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
Expand All @@ -120,12 +120,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Cache .yarn/cache
- name: Cache Yarn cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
path: ~/.yarn/berry/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Cache .yarn/cache
- name: Cache Yarn cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
path: ~/.yarn/berry/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
Expand Down
28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

6 changes: 2 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
compressionLevel: mixed

logFilters:
- code: YN0076
level: discard

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"lint-staged": "^14.0.0",
"prettier": "^3.0.0"
},
"packageManager": "yarn@3.1.0"
"packageManager": "yarn@4.0.0"
}
Loading

0 comments on commit b15868d

Please sign in to comment.