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

Deps: Update Yarn to v4 #1446

Merged
merged 3 commits into from
Jun 18, 2024
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: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,17 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Enable Corepack
run: corepack enable

- name: Fetch Git history
run: git fetch --no-tags --depth=50 origin main

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Build packages
run: yarn build
4 changes: 4 additions & 0 deletions .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Fetch Git history
run: git fetch --no-tags --depth=50 origin main

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Run Commitlint
run: npx commitlint --color --verbose --from $(git merge-base origin/main HEAD)
4 changes: 4 additions & 0 deletions .github/workflows/component-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Analyze
run: npx omlet analyze
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Build
run: yarn build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-web-twig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Build Icons
working-directory: ./packages/icons
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Fetch Git history
run: git fetch --no-tags --depth=50 origin main

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Build
run: yarn build
Expand Down
875 changes: 0 additions & 875 deletions .yarn/releases/yarn-3.8.1.cjs

This file was deleted.

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

enableGlobalCache: false
literat marked this conversation as resolved.
Show resolved Hide resolved

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
spec: 'https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js'

yarnPath: .yarn/releases/yarn-3.8.1.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,5 @@
"@types/react": "18.3.3",
"typescript": "4.7.4"
},
"packageManager": "yarn@3.8.2"
"packageManager": "yarn@4.3.0+sha256.d7f2fd514a5862009753c52798cc48ae602d181c09341cf2ff8b9c935dc3db1a"
}
Loading
Loading