Skip to content

Commit

Permalink
fix: flakey yarn install by reducing network concurrency (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Jeston authored Dec 18, 2023
1 parent fba2092 commit fbf321c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install dependencies
run: |
yarn install --frozen-lockfile
yarn install --frozen-lockfile --network-concurrency 1
- name: Compile contracts
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit fbf321c

Please sign in to comment.