File tree Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,17 @@ commands:
1313 at : ~/react-native-paper
1414
1515jobs :
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 :
2940 - run :
3041 name : Install dependencies
3142 command : |
32- yarn install --cwd example --frozen-lockfile
33- yarn install --cwd docs --frozen-lockfile
34- yarn install --frozen-lockfile
43+ sudo corepack enable
44+ yarn set version berry
45+ yarn --cwd example --frozen-lockfile
46+ yarn --cwd docs --frozen-lockfile
47+ yarn --frozen-lockfile
3548 - save_cache :
3649 key : dependencies-{{ checksum "package.json" }}
3750 paths :
@@ -127,7 +140,10 @@ jobs:
127140workflows :
128141 build-and-test :
129142 jobs :
130- - install-dependencies
143+ - update-yarn
144+ - install-dependencies :
145+ requires :
146+ - update-yarn
131147 - lint :
132148 requires :
133149 - install-dependencies
Original file line number Diff line number Diff line change 1+ nodeLinker : node-modules
Original file line number Diff line number Diff line change 162162 }
163163 ]
164164 ]
165- }
165+ },
166+ "packageManager" :
" [email protected] " 166167}
You can’t perform that action at this time.
0 commit comments