Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/fix-build-order.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"vue-pivottable": patch
---

fix: 빌드 오류 처리 및 순서 개선

- set -e 추가로 빌드 실패 시 워크플로우 즉시 중단
- 메인 패키지를 먼저 빌드하여 타입 선언 파일 생성
- 하위 패키지들이 메인 패키지 타입을 참조할 수 있도록 순서 조정
8 changes: 6 additions & 2 deletions .github/workflows/release-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,12 @@ jobs:
- name: Build packages
if: steps.changesets-check.outputs.has_changesets == 'true'
run: |
echo "Building all packages..."
pnpm build:all
set -e # Exit immediately if any command fails
echo "Building main package first..."
pnpm build # Build main package first to generate type declarations

echo "Building sub-packages..."
pnpm -r --filter './packages/*' build # Build sub-packages after main

- name: Create GitHub Pre-release
if: steps.changesets-check.outputs.has_changesets == 'true'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
done

- name: Create release branch
id: create-release
if: steps.check-versions.outputs.has_beta == 'true'
run: |
VERSION=${{ steps.check-versions.outputs.base_version }}
Expand Down
Loading