ci(workflow): add verification step for packaged worker layout

This commit is contained in:
4gray committed 2026-03-28 21:41:24 +01:00
1 parent 1b224efb57
commit 2bfa557438
2 files changed
+9

No files matched your search

+7
View File
@@ -221,6 +221,13 @@ jobs:
if: matrix.os != 'macos' || github.event_name == 'pull_request'
run: pnpm run make:app
- name: Verify packaged worker layout
shell: bash
env:
PACKAGE_OS: ${{ matrix.os }}
PACKAGE_ARCH: ${{ matrix.arch || '' }}
run: pnpm run verify:package-layout -- "$PACKAGE_OS" "$PACKAGE_ARCH"
- name: Upload artifacts (macOS)
if: matrix.os == 'macos'
uses: actions/upload-artifact@v4
+2
View File
@@ -34,8 +34,10 @@
"typecheck:web": "tsc -p apps/web/tsconfig.app.json --noEmit",
"typecheck:backend": "tsc -p apps/electron-backend/tsconfig.app.json --noEmit",
"typecheck:ci": "pnpm run typecheck:web && pnpm run typecheck:backend",
"verify:package-layout": "node tools/packaging/verify-electron-package-layout.mjs",
"package:app": "nx run electron-backend:make --prepackageOnly",
"make:app": "nx run electron-backend:make",
"smoke:packaged": "node tools/testing/launch-packaged-electron.mjs",
"serve:website": "nx serve website",
"build:website": "nx build website",
"lint": "nx lint electron-backend",