Skip to content

Commit 0a000e2

Browse files
committed
Use corepack
1 parent 647c053 commit 0a000e2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ commands:
1414
name: Restore Yarn Package Cache
1515
- node/install:
1616
node-version: '22.11.0'
17-
- node/install-yarn:
18-
version: '4.5.3'
1917
- run:
20-
command: yarn && git diff --exit-code yarn.lock
18+
name: Enable Corepack
19+
command: corepack enable --install-directory="/home/circleci/bin"
20+
- run:
21+
name: Set Yarn Version
22+
command: corepack prepare [email protected] --activate
23+
- run:
24+
command: yarn install && git diff --exit-code yarn.lock
2125
name: Install dependencies
2226
- save_cache:
2327
key: yarn-packages-{{ checksum "yarn.lock" }}

0 commit comments

Comments
 (0)