From c812bd71aabc63b5c9ebbe032f25aba5ac51bd64 Mon Sep 17 00:00:00 2001 From: Innei Date: Sat, 26 Oct 2024 17:20:41 +0800 Subject: [PATCH] fix(ci): turbo not found Signed-off-by: Innei --- .github/workflows/build.yml | 4 ++-- .github/workflows/build:web.yml | 2 +- .github/workflows/lint.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ce1313ea..394579b2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,7 +106,7 @@ jobs: - name: Build if: matrix.os != 'macos-latest' - run: turbo run build + run: npm exec turbo run build env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} @@ -117,7 +117,7 @@ jobs: APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} KEYCHAIN_PATH: ${{ runner.temp }}/app-signing.keychain-db - run: turbo run build:macos + run: npm exec turbo run build:macos - name: Upload file uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build:web.yml b/.github/workflows/build:web.yml index 4ac01c29d..70a914cec 100644 --- a/.github/workflows/build:web.yml +++ b/.github/workflows/build:web.yml @@ -42,4 +42,4 @@ jobs: run: pnpm install - name: Build web and SSR server run: | - turbo run build:web @follow/server#build + npm exec turbo run build:web @follow/server#build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5d4879b68..19dfed557 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -42,6 +42,6 @@ jobs: run: pnpm install - name: Format, Lint and Typecheck run: | - turbo run format:check typecheck lint + npm exec turbo run format:check typecheck lint - name: Run test - run: turbo run test + run: npm exec turbo run test