Skip to content

Commit

Permalink
fix(Turborepo): Add back a working version of the rust npm package (#…
Browse files Browse the repository at this point in the history
…7670)

### Description

The `@turbo/repository` release process was inadvertently depending on
the rust npm package. This PR adds back a working version of that
package to unblock releases until we can update the release process to
no longer rely on that package, at which point we can remove it again.

Also adds the github token to the rust setup so we don't get
rate-limited.

### Testing Instructions

Tested via dry run on personal fork, all platforms build, manually
verified alpine on arm64.

Closes TURBO-2572

Co-authored-by: Greg Soltis <Greg Soltis>
  • Loading branch information
Greg Soltis authored Mar 8, 2024
1 parent 8045b05 commit c6ffc44
Show file tree
Hide file tree
Showing 3 changed files with 415 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/turborepo-library-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
uses: ./.github/actions/setup-rust
with:
targets: ${{ matrix.settings.target }}
github-token: ${{ github.token }}
if: ${{ !matrix.settings.install }}

- name: Setup Node
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"semver": "^7.3.8",
"typescript": "5.3.3"
},
"optionalDependencies": {
"rust": "1.0.6-nightly"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write"
Expand Down
Loading

0 comments on commit c6ffc44

Please sign in to comment.