From fbf321c45b470e8342262c2daf35fba7417997ff Mon Sep 17 00:00:00 2001 From: Sam Jeston Date: Tue, 19 Dec 2023 09:37:43 +1000 Subject: [PATCH] fix: flakey yarn install by reducing network concurrency (#158) --- .github/workflows/publish.yaml | 2 +- .github/workflows/test.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 06123b7b..a326b55c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -48,7 +48,7 @@ jobs: - name: Install dependencies run: | - yarn install --frozen-lockfile + yarn install --frozen-lockfile --network-concurrency 1 - name: Compile contracts run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 950620a7..83e97921 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - name: Install dependencies - run: yarn install --frozen-lockfile --network-concurrency 2 + run: yarn install --frozen-lockfile --network-concurrency 1 - name: Run tests run: forge test -vvv hardhat-test: @@ -31,7 +31,7 @@ jobs: node-version: lts/* cache: 'yarn' - name: Install dependencies - run: yarn install --frozen-lockfile --network-concurrency 2 + run: yarn install --frozen-lockfile --network-concurrency 1 - name: Run Tests run: yarn test lint: @@ -46,7 +46,7 @@ jobs: node-version: lts/* cache: 'yarn' - name: Install dependencies - run: yarn install --frozen-lockfile --network-concurrency 2 + run: yarn install --frozen-lockfile --network-concurrency 1 - name: Run eslint run: yarn lint publish: @@ -62,7 +62,7 @@ jobs: registry-url: https://registry.npmjs.org/ cache: 'yarn' - name: Install dependencies - run: yarn install --frozen-lockfile --network-concurrency 2 + run: yarn install --frozen-lockfile --network-concurrency 1 - name: Compile contracts run: yarn compile - name: Build dist files