Skip to content

Commit

Permalink
Remove the yarn mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
gchristov authored Nov 19, 2024
1 parent bdf76e9 commit 2ce79aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-service/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
set -Eeuo pipefail
if [ -e "${{ inputs.service }}/gradlew" ]; then
# Need to explicitly cd into each service, otherwise we get yarn cache clashes
# Need to explicitly cd into each service, otherwise we get concurrent yarn cache clashes
cd ${{ inputs.service }}
./gradlew --no-daemon assemble
cd ..
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/unit-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ runs:
shell: bash
run: |
set -Eeuo pipefail
# A single worker is a workaround for the concurrent yarn instances that multi-workers brings,
# where the cache directory is being updated in parallel, causing conflicting changes.
./gradlew --no-daemon --continue --max-workers=1 jsTest
- name: Generate test report
uses: mikepenz/action-junit-report@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Build services
run: |
set -Eeuo pipefail
./gradlew --no-daemon assemble
./gradlew --no-daemon assemble
- name: Preview infrastructure
uses: ./.github/actions/infra
with:
Expand Down
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

0 comments on commit 2ce79aa

Please sign in to comment.