diff --git a/.github/workflows/reusable-publish.yaml b/.github/workflows/reusable-publish.yaml index d6cde3ede..4d9675ab3 100644 --- a/.github/workflows/reusable-publish.yaml +++ b/.github/workflows/reusable-publish.yaml @@ -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 diff --git a/.github/workflows/reusable-test.yaml b/.github/workflows/reusable-test.yaml index 19f572b8f..ca1bf2b8c 100644 --- a/.github/workflows/reusable-test.yaml +++ b/.github/workflows/reusable-test.yaml @@ -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 diff --git a/examples/oft/turbo.json b/examples/oft/turbo.json deleted file mode 100644 index f808fcee4..000000000 --- a/examples/oft/turbo.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": ["//"], - "pipeline": { - "compile": { - "dependsOn": ["@layerzerolabs/oapp-example#compile"], - "description": "We include this dependency to make sure that the compilation is executed in series to avoid race conditions with solc compilers in foundry" - } - } -}