Skip to content

Commit

Permalink
fix: compile everything before compiling local preview bundle (#991)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Jun 6, 2024
1 parent 3ae38de commit 477c9ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-local-preview-bundle-dryrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: ./.github/actions/install
- name: Build local preview bundle
run: |
pnpm --filter=@fern-api/fdr-sdk compile
pnpm compile
pnpm --filter=@fern-ui/local-preview-bundle build
- name: Synthesize local preview bundle
run: pnpm --filter=@fern-ui/cdk run synth:dev2
Expand All @@ -47,7 +47,7 @@ jobs:
uses: ./.github/actions/install
- name: Build local preview bundle
run: |
pnpm --filter=@fern-api/fdr-sdk compile
pnpm compile
pnpm --filter=@fern-ui/local-preview-bundle build
- name: Synthesize local preview bundle
run: pnpm --filter=@fern-ui/cdk run synth:prod
4 changes: 2 additions & 2 deletions .github/workflows/deploy-local-preview-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: ./.github/actions/install
- name: Build local preview bundle
run: |
pnpm --filter=@fern-api/fdr-sdk compile
pnpm compile
ENABLE_SOURCE_MAPS=true pnpm --filter=@fern-ui/local-preview-bundle build
- name: Deploy local preview bundle
run: pnpm --filter=@fern-ui/cdk run deploy:dev2
Expand All @@ -50,7 +50,7 @@ jobs:
uses: ./.github/actions/install
- name: Build local preview bundle
run: |
pnpm --filter=@fern-api/fdr-sdk compile
pnpm compile
pnpm --filter=@fern-ui/local-preview-bundle build
- name: Deploy local preview bundle
run: pnpm --filter=@fern-ui/cdk run deploy:prod

0 comments on commit 477c9ac

Please sign in to comment.