chore(release): build core before ifc-converter in CI (workspace dep needs dist/)

This commit is contained in:
open-pascal
2026-05-27 18:45:38 +00:00
parent 28e7aa92c1
commit 350cad9c89
+3 -1
View File
@@ -169,10 +169,12 @@ jobs:
- name: Build & publish ifc-converter - name: Build & publish ifc-converter
if: inputs.package == 'ifc-converter' || inputs.package == 'all' if: inputs.package == 'ifc-converter' || inputs.package == 'all'
working-directory: packages/ifc-converter
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: | run: |
# ifc-converter depends on @pascal-app/core (workspace) — build it first
bun run build --filter @pascal-app/core 2>/dev/null || (cd packages/core && bun run build)
cd packages/ifc-converter
bun run build bun run build
if [ "${{ inputs.dry-run }}" = "true" ]; then if [ "${{ inputs.dry-run }}" = "true" ]; then
echo "🏜️ Dry run — would publish @pascal-app/ifc-converter@$IFC_CONVERTER_VERSION" echo "🏜️ Dry run — would publish @pascal-app/ifc-converter@$IFC_CONVERTER_VERSION"