Skip to content

Commit 5004050

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

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.circleci/config.yml

Lines changed: 15 additions & 1 deletion
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+
corepack enable
25+
corepack prepare [email protected] --activate
26+
yarn --version
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

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)