Skip to content

Commit

Permalink
Ensure build-native is in needs properly (#64357)
Browse files Browse the repository at this point in the history
This ensures we don't un-necessarily re-run the `build-native` job
across all CIs from cache misses while a build is pending.



Closes NEXT-3080
  • Loading branch information
ijjk committed Apr 11, 2024
1 parent b912492 commit 83675ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:

test-turbopack-dev:
name: test turbopack dev
needs: ['changes', 'build-next']
needs: ['changes', 'build-next', 'build-native']
if: ${{ needs.changes.outputs.docs-only == 'false' }}

strategy:
Expand All @@ -169,7 +169,7 @@ jobs:

test-turbopack-integration:
name: test turbopack development integration
needs: ['changes', 'build-next']
needs: ['changes', 'build-next', 'build-native']
if: ${{ needs.changes.outputs.docs-only == 'false' }}

strategy:
Expand All @@ -185,7 +185,7 @@ jobs:

test-turbopack-production:
name: test turbopack production
needs: ['changes', 'build-next']
needs: ['changes', 'build-next', 'build-native']
if: ${{ needs.changes.outputs.docs-only == 'false' }}

strategy:
Expand All @@ -201,7 +201,7 @@ jobs:

test-turbopack-production-integration:
name: test turbopack production integration
needs: ['changes', 'build-next']
needs: ['changes', 'build-next', 'build-native']
if: ${{ needs.changes.outputs.docs-only == 'false' }}

strategy:
Expand Down

0 comments on commit 83675ce

Please sign in to comment.