From ef852438b03b00e99f887c951cca70df39910d35 Mon Sep 17 00:00:00 2001 From: Andrey Goncharov Date: Wed, 19 Jan 2022 03:30:12 -0800 Subject: [PATCH] Link react-flipper-example to local js-flipper (#3315) Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/3315 Before this change, it was impossible to make changes to js-flipper and react-flipper-example at the same time because react-flipper-example used a published version of js-flipper Reviewed By: passy Differential Revision: D33623034 fbshipit-source-id: b291b18aace49163a6edc4a3f5c22da9ef936b7c --- .github/workflows/js.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 63e00ce47..1153f36de 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -34,11 +34,22 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '14.x' + - name: js-flipper - yarn install (with retry) + uses: nick-invision/retry@v2.6.0 + with: + command: cd js/js-flipper && yarn + timeout_minutes: 30 + max_attempts: 3 + - name: js-flipper build + run: yarn build + working-directory: js/js-flipper - name: yarn install (with retry) uses: nick-invision/retry@v2.6.0 with: command: cd js/react-flipper-example && yarn timeout_minutes: 30 max_attempts: 3 + - name: link local js-flipper + run: yarn relative-deps - name: build run: yarn build