Skip to content

Commit cf1e7cb

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

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.circleci/config.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ 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 npm install --global [email protected]
1625
install-dependencies:
1726
executor: default
1827
steps:
@@ -127,7 +136,10 @@ jobs:
127136
workflows:
128137
build-and-test:
129138
jobs:
130-
- install-dependencies
139+
- update-yarn
140+
- install-dependencies:
141+
requires:
142+
- update-yarn
131143
- lint:
132144
requires:
133145
- install-dependencies

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

0 commit comments

Comments
 (0)