Skip to content

Commit 7283aab

Browse files
committed
chore: update yarn
1 parent 9b37692 commit 7283aab

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.circleci/config.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ commands:
1313
at: ~/react-native-paper
1414

1515
jobs:
16+
update-yarn:
17+
executor: default
18+
steps:
19+
- checkout
20+
- attach_project
21+
- run:
22+
name: "Enable Corepack and upgrade Yarn"
23+
command: |
24+
sudo corepack enable
25+
yarn set version berry
26+
yarn
1627
install-dependencies:
1728
executor: default
1829
steps:
@@ -127,7 +138,10 @@ jobs:
127138
workflows:
128139
build-and-test:
129140
jobs:
130-
- install-dependencies
141+
- update-yarn
142+
- install-dependencies:
143+
requires:
144+
- update-yarn
131145
- lint:
132146
requires:
133147
- install-dependencies

.yarnrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -162,5 +162,6 @@
162162
}
163163
]
164164
]
165-
}
165+
},
166+
"packageManager": "[email protected]"
166167
}

0 commit comments

Comments
 (0)