Skip to content

Commit

Permalink
chore(release): run tests as we build binary (#9942)
Browse files Browse the repository at this point in the history
### Description

We can cut down on the time it takes to cut a release by starting to
build the binary before tests have run.

For example in [this
run](https://github.com/vercel/turborepo/actions/runs/13246084115):
 - Rust tests took 8m48s
 - Slowest binary build took 15m38s

### Testing Instructions

[Test run](https://github.com/vercel/turborepo/actions/runs/13271787502)
  • Loading branch information
chris-olszewski authored Feb 12, 2025
1 parent 032449e commit ef00be3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/turborepo-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:

build-rust:
name: "Build Rust"
needs: [stage, rust-smoke-test, js-smoke-test]
needs: [stage]
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
npm-publish:
name: "Publish To NPM"
runs-on: ubuntu-latest
needs: [stage, build-rust]
needs: [stage, build-rust, rust-smoke-test, js-smoke-test]
steps:
- name: Show Stage Commit
run: echo "${{ needs.stage.outputs.stage-branch }}"
Expand Down

0 comments on commit ef00be3

Please sign in to comment.