From c542288fda85f4847eff9490c6463c9c1e522c5e Mon Sep 17 00:00:00 2001 From: Nicolas Charpentier Date: Tue, 13 Aug 2019 15:30:26 -0400 Subject: [PATCH 1/2] Sync yarn.lock --- yarn.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3d1de6f04..7ef6c178f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3516,10 +3516,10 @@ flatted@^2.0.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.0.tgz#55122b6536ea496b4b44893ee2608141d10d9916" integrity sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg== -flow-bin@^0.103.0: - version "0.103.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.103.0.tgz#7aec510d85e1c1b0f2b912bb988337d70035cb0f" - integrity sha512-Y3yrnE5ICN1Kl/y10BwjA3JSuS+gt4jVPNyUNCZb0RqmkdssMrW8QNNysJYvhgAY/JBJH8Qv7NVUf11MiwfSlA== +flow-bin@^0.104.0: + version "0.104.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.104.0.tgz#ef5b3600dfd36abe191a87d19f66e481bad2e235" + integrity sha512-EZXRRmf7m7ET5Lcnwm/I/T8G3d427Bq34vmO3qIlRcPIYloGuVoqRCwjaeezLRDntHkdciagAKbhJ+NTbDjnkw== flow-copy-source@^2.0.6: version "2.0.7" From a57fd8f40ad777cb2942811d1da530cf8c9a9da5 Mon Sep 17 00:00:00 2001 From: Nicolas Charpentier Date: Tue, 13 Aug 2019 15:30:38 -0400 Subject: [PATCH 2/2] Configure CircleCI to use Yarn properly --- .circleci/config.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b1fc158f9..c35d0f972 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,13 +20,12 @@ jobs: at: ~/react-native-testing-library - restore_cache: keys: - - dependencies-{{ checksum "package.json" }} - - dependencies- - - run: yarn install + - dependencies-{{ checksum "yarn.lock" }} + - run: yarn install --frozen-lockfile --no-progress --non-interactive --cache-folder ~/.cache/yarn - save_cache: - key: dependencies-{{ checksum "package.json" }} + key: dependencies-{{ checksum "yarn.lock" }} paths: - - node_modules + - ~/.cache/yarn - persist_to_workspace: root: . paths: