-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/with-nestjs
- Loading branch information
Showing
541 changed files
with
17,668 additions
and
13,741 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "Install Global Turbo" | ||
description: "Installs turbo globally. Expects Node and npm to already be installed" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install Turbo globally | ||
shell: bash | ||
run: | | ||
VERSION=$(npm view turbo --json | jq -r '.versions | last') | ||
echo "Latest published version: $VERSION" | ||
npm i -g turbo@$VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -219,10 +219,15 @@ jobs: | |
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- uses: ./.github/actions/setup-turborepo-environment | ||
- name: Setup Turborepo Environment | ||
uses: ./.github/actions/setup-turborepo-environment | ||
with: | ||
windows: ${{ matrix.os.name == 'windows' }} | ||
windows: ${{ matrix.os.runner == 'windows-latest' }} | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Install Global Turbo | ||
uses: ./.github/actions/install-global-turbo | ||
|
||
# We explicitly unset RUSTC_WRAPPER if it is an empty string as causes build issues | ||
- run: | | ||
if [ -z "${RUSTC_WRAPPER}" ]; then | ||
|
@@ -269,11 +274,16 @@ jobs: | |
shell: bash | ||
run: git config --global core.autocrlf input | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/setup-turborepo-environment | ||
|
||
- name: Setup Turborepo Environment | ||
uses: ./.github/actions/setup-turborepo-environment | ||
with: | ||
windows: ${{ matrix.os.runner == 'windows-latest' }} | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Install Global Turbo | ||
uses: ./.github/actions/install-global-turbo | ||
|
||
- name: Setup Graphviz | ||
uses: ts-graphviz/setup-graphviz@v1 | ||
with: | ||
|
@@ -308,11 +318,14 @@ jobs: | |
shell: bash | ||
run: corepack disable | ||
|
||
- uses: ./.github/actions/setup-turborepo-environment | ||
- name: Setup Turborepo Environment | ||
uses: ./.github/actions/setup-turborepo-environment | ||
with: | ||
windows: ${{ matrix.os.runner == 'windows-latest' }} | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Install Global Turbo | ||
uses: ./.github/actions/install-global-turbo | ||
|
||
- name: Check examples | ||
shell: bash | ||
# Concurrency being 1 is a big hammer here. | ||
|
@@ -364,11 +377,14 @@ jobs: | |
ref: ${{ github.ref }} | ||
fetch-depth: ${{ steps.fetch-depth.outputs.depth }} | ||
|
||
- name: Build turborepo CLI from source | ||
- name: Setup Turborepo Environment | ||
uses: ./.github/actions/setup-turborepo-environment | ||
with: | ||
windows: ${{ matrix.os.name == 'windows' }} | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
node-version: "20" | ||
|
||
- name: Install Global Turbo | ||
uses: ./.github/actions/install-global-turbo | ||
|
||
- name: Run tests | ||
# We manually set TURBO_API to an empty string to override Hetzner env | ||
|
@@ -459,7 +475,6 @@ jobs: | |
- name: Setup Turborepo Environment | ||
uses: ./.github/actions/setup-turborepo-environment | ||
with: | ||
windows: ${{ matrix.os.name == 'windows' }} | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Run cargo check | ||
|
@@ -481,7 +496,6 @@ jobs: | |
- name: Setup Turborepo Environment | ||
uses: ./.github/actions/setup-turborepo-environment | ||
with: | ||
windows: ${{ matrix.os.name == 'windows' }} | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Run cargo clippy | ||
|
@@ -513,6 +527,7 @@ jobs: | |
uses: ./.github/actions/setup-rust | ||
with: | ||
targets: wasm32-unknown-unknown,wasm32-wasip1-threads | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Run cargo check release | ||
run: | | ||
|
@@ -658,7 +673,7 @@ jobs: | |
- name: Setup Turborepo Environment | ||
uses: ./.github/actions/setup-turborepo-environment | ||
with: | ||
windows: ${{ matrix.os.name == 'windows' }} | ||
windows: ${{ matrix.os.runner == 'windows-latest' }} | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Run tests | ||
|
@@ -725,7 +740,7 @@ jobs: | |
matrix: | ||
os: | ||
- name: macos | ||
runner: macos-latest | ||
runner: macos-12 | ||
- name: windows | ||
runner: windows-latest | ||
runs-on: ${{ matrix.os.runner }} | ||
|
@@ -818,7 +833,7 @@ jobs: | |
matrix: | ||
os: | ||
- name: macos | ||
runner: macos-latest | ||
runner: macos-12 | ||
# Temporarily disable windows bench due to consistent timeouts | ||
# - name: windows | ||
# runner: windows-2019 | ||
|
@@ -846,10 +861,14 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: ./.github/actions/setup-turborepo-environment | ||
- name: Setup Turborepo Environment | ||
uses: ./.github/actions/setup-turborepo-environment | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Install Global Turbo | ||
uses: ./.github/actions/install-global-turbo | ||
|
||
- name: Lint | ||
# Filters some workspaces out: | ||
# - Other `@vercel/*` packages because ?? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.