File tree 3 files changed +23
-5
lines changed
3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,17 @@ commands:
13
13
at : ~/react-native-paper
14
14
15
15
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
16
27
install-dependencies :
17
28
executor : default
18
29
steps :
29
40
- run :
30
41
name : Install dependencies
31
42
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
35
48
- save_cache :
36
49
key : dependencies-{{ checksum "package.json" }}
37
50
paths :
@@ -127,7 +140,10 @@ jobs:
127
140
workflows :
128
141
build-and-test :
129
142
jobs :
130
- - install-dependencies
143
+ - update-yarn
144
+ - install-dependencies :
145
+ requires :
146
+ - update-yarn
131
147
- lint :
132
148
requires :
133
149
- 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 162
162
}
163
163
]
164
164
]
165
- }
165
+ },
166
+ "packageManager" :
" [email protected] "
166
167
}
You can’t perform that action at this time.
0 commit comments