From 179744756b7ab08bb0211673bc66e65d16a417ac Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Sat, 14 Sep 2024 19:31:48 -0400 Subject: [PATCH] turbos --- .github/actions/vercel/action.yml | 2 +- .github/workflows/deploy-local-preview-bundle-dryrun.yml | 8 ++------ .github/workflows/deploy-local-preview-bundle.yml | 6 ++---- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/actions/vercel/action.yml b/.github/actions/vercel/action.yml index 4001becab2..2796dac2d0 100644 --- a/.github/actions/vercel/action.yml +++ b/.github/actions/vercel/action.yml @@ -46,7 +46,7 @@ runs: continue-on-error: true run: | pnpx turbo-ignore ${{ inputs.package }} --fallback=HEAD^1 - export "exit_code=$?" >> $GITHUB_OUTPUT + echo "exit_code=$?" >> $GITHUB_OUTPUT - name: Install Vercel CLI if: steps.ignore-build.outputs.exit_code || inputs.force == 'true' diff --git a/.github/workflows/deploy-local-preview-bundle-dryrun.yml b/.github/workflows/deploy-local-preview-bundle-dryrun.yml index e0986ad2d9..4d80389481 100644 --- a/.github/workflows/deploy-local-preview-bundle-dryrun.yml +++ b/.github/workflows/deploy-local-preview-bundle-dryrun.yml @@ -26,9 +26,7 @@ jobs: - name: Install uses: ./.github/actions/install - name: Build local preview bundle - run: | - pnpm compile - pnpm --filter=@fern-ui/local-preview-bundle build + run: pnpm turbo --filter=@fern-ui/local-preview-bundle build - name: Synthesize local preview bundle run: pnpm --filter=@fern-ui/cdk run synth:dev2 @@ -46,8 +44,6 @@ jobs: - name: Install uses: ./.github/actions/install - name: Build local preview bundle - run: | - pnpm compile - pnpm --filter=@fern-ui/local-preview-bundle build + run: pnpm turbo --filter=@fern-ui/local-preview-bundle build - name: Synthesize local preview bundle run: pnpm --filter=@fern-ui/cdk run synth:prod diff --git a/.github/workflows/deploy-local-preview-bundle.yml b/.github/workflows/deploy-local-preview-bundle.yml index 8b2efb1e8a..adab40050e 100644 --- a/.github/workflows/deploy-local-preview-bundle.yml +++ b/.github/workflows/deploy-local-preview-bundle.yml @@ -31,7 +31,7 @@ jobs: - name: Build local preview bundle run: | pnpm compile - ENABLE_SOURCE_MAPS=true pnpm --filter=@fern-ui/local-preview-bundle build + ENABLE_SOURCE_MAPS=true pnpm turbo --filter=@fern-ui/local-preview-bundle build - name: Deploy local preview bundle run: pnpm --filter=@fern-ui/cdk run deploy:dev2 @@ -50,8 +50,6 @@ jobs: - name: Install uses: ./.github/actions/install - name: Build local preview bundle - run: | - pnpm compile - pnpm --filter=@fern-ui/local-preview-bundle build + run: pnpm turbo --filter=@fern-ui/local-preview-bundle build - name: Deploy local preview bundle run: pnpm --filter=@fern-ui/cdk run deploy:prod