diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 29373e017d..69440e27c6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,14 +37,24 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - - run: make node_modules + - uses: nick-invision/retry@v2 name: Install dependencies + with: + timeout_minutes: 10 + max_attempts: 3 + retry_on: error + command: make node_modules - run: make build-npm name: Generate npm package - - run: make -j2 build-extensions + - uses: nick-invision/retry@v2 name: Build bundled extensions + with: + timeout_minutes: 15 + max_attempts: 3 + retry_on: error + command: make -j2 build-extensions - run: make test name: Run tests diff --git a/Makefile b/Makefile index 658be09690..b5a652a51b 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ binaries/client: node_modules yarn download-bins node_modules: yarn.lock - yarn install --frozen-lockfile + yarn install --frozen-lockfile --network-timeout=100000 yarn check --verify-tree --integrity static/build/LensDev.html: node_modules