8585 - uses : actions/setup-node@v4
8686 with :
8787 node-version : ${{ env.NODE_VERSION }}
88- - run : pnpm install --frozen-lockfile --prefer-offline
88+ - run : pnpm install --frozen-lockfile --prefer-offline --config.node-linker=isolated
8989 - name : Build workspace dependencies
90- run : pnpm --filter "@moryflow/pc^ ..." --if-present build
90+ run : pnpm --filter "@moryflow/pc..." --filter "!@moryflow/pc " --if-present build
9191 - name : Build renderer/main bundles
9292 run : pnpm --dir apps/moryflow/pc build
9393 - name : Build macOS arm64 installers
@@ -101,7 +101,7 @@ jobs:
101101 build-macos-x64 :
102102 name : Build macOS x64
103103 needs : metadata
104- runs-on : macos-13
104+ runs-on : macos-15-intel
105105 env :
106106 CSC_LINK : ${{ secrets.CSC_LINK }}
107107 CSC_KEY_PASSWORD : ${{ secrets.CSC_KEY_PASSWORD }}
@@ -116,9 +116,9 @@ jobs:
116116 - uses : actions/setup-node@v4
117117 with :
118118 node-version : ${{ env.NODE_VERSION }}
119- - run : pnpm install --frozen-lockfile --prefer-offline
119+ - run : pnpm install --frozen-lockfile --prefer-offline --config.node-linker=isolated
120120 - name : Build workspace dependencies
121- run : pnpm --filter "@moryflow/pc^ ..." --if-present build
121+ run : pnpm --filter "@moryflow/pc..." --filter "!@moryflow/pc " --if-present build
122122 - name : Build renderer/main bundles
123123 run : pnpm --dir apps/moryflow/pc build
124124 - name : Build macOS x64 installers
@@ -129,41 +129,12 @@ jobs:
129129 path : apps/moryflow/pc/release/${{ needs.metadata.outputs.version }}/*
130130 if-no-files-found : error
131131
132- build-windows-x64 :
133- name : Build Windows x64
134- needs : metadata
135- runs-on : windows-2022
136- env :
137- CSC_LINK : ${{ secrets.WIN_CSC_LINK }}
138- CSC_KEY_PASSWORD : ${{ secrets.WIN_CSC_KEY_PASSWORD }}
139- steps :
140- - uses : actions/checkout@v4
141- - uses : pnpm/action-setup@v4
142- with :
143- version : ${{ env.PNPM_VERSION }}
144- - uses : actions/setup-node@v4
145- with :
146- node-version : ${{ env.NODE_VERSION }}
147- - run : pnpm install --frozen-lockfile --prefer-offline
148- - name : Build workspace dependencies
149- run : pnpm --filter "@moryflow/pc^..." --if-present build
150- - name : Build renderer/main bundles
151- run : pnpm --dir apps/moryflow/pc build
152- - name : Build Windows x64 installer
153- run : pnpm --dir apps/moryflow/pc exec electron-builder --win nsis --x64 --publish never
154- - uses : actions/upload-artifact@v4
155- with :
156- name : win32-x64
157- path : apps/moryflow/pc/release/${{ needs.metadata.outputs.version }}/*
158- if-no-files-found : error
159-
160132 publish :
161133 name : Publish Release
162134 needs :
163135 - metadata
164136 - build-macos-arm64
165137 - build-macos-x64
166- - build-windows-x64
167138 runs-on : ubuntu-latest
168139 permissions :
169140 contents : write
@@ -193,14 +164,16 @@ jobs:
193164 --base-url "${{ env.UPDATE_BASE_URL }}" \
194165 --input-dir ".artifacts" \
195166 --output-dir ".release-prepared" \
196- --github-repo "${{ env.GITHUB_REPO }}"
167+ --github-repo "${{ env.GITHUB_REPO }}" \
168+ --targets "darwin-arm64,darwin-x64"
197169 - name : Smoke check generated feeds
198170 run : |
199171 pnpm --dir apps/moryflow/pc exec tsx scripts/smoke-check-update-feed.ts \
200172 --version "${{ needs.metadata.outputs.version }}" \
201173 --channel "${{ needs.metadata.outputs.channel }}" \
202174 --base-url "${{ env.UPDATE_BASE_URL }}" \
203- --input-dir ".release-prepared"
175+ --input-dir ".release-prepared" \
176+ --targets "darwin-arm64,darwin-x64"
204177 - name : Publish GitHub release
205178 uses : softprops/action-gh-release@v2
206179 with :
0 commit comments