Skip to content

Commit

Permalink
🚧 Prevent race conditions when compiling hardhat projects (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista authored Jan 29, 2024
1 parent eb193ac commit 7d57b65
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/reusable-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ jobs:
- name: Setup build cache
uses: ./.github/workflows/actions/setup-build-cache

# We'll run the build in series to avoid race conditions
# when compiling hardhat projects in monorepo setups
- name: Build
run: pnpm build
run: pnpm build --concurrency=1
env:
NODE_ENV: production

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/reusable-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ jobs:
- name: Lint
run: pnpm lint

# We'll run the build in series to avoid race conditions
# when compiling hardhat projects in monorepo setups
- name: Build
run: pnpm build
run: pnpm build --concurrency=1

test:
name: Test
Expand Down
9 changes: 0 additions & 9 deletions examples/oft/turbo.json

This file was deleted.

0 comments on commit 7d57b65

Please sign in to comment.