mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 05:42:30 +03:00
ci: fix build desktop
This commit is contained in:
parent
ad218ec65d
commit
14f63e91a9
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -374,8 +374,16 @@ jobs:
|
||||
run: yarn nx test @affine/monorepo
|
||||
env:
|
||||
NATIVE_TEST: 'true'
|
||||
- name: Build AFFiNE Desktop
|
||||
|
||||
- name: Build Infra
|
||||
run: yarn run build:infra
|
||||
|
||||
- name: Build Plugins
|
||||
run: yarn run build:plugins
|
||||
|
||||
- name: Build Desktop Layers
|
||||
run: yarn nx build @affine/electron
|
||||
|
||||
- name: Download static resource artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
|
7
.github/workflows/nightly-build.yml
vendored
7
.github/workflows/nightly-build.yml
vendored
@ -124,9 +124,12 @@ jobs:
|
||||
path: apps/electron/resources/web-static
|
||||
|
||||
- name: Build Infra
|
||||
run: yarn nx run-many -t build -p plugin-infra infra
|
||||
run: yarn run build:infra
|
||||
|
||||
- name: Build layers
|
||||
- name: Build Plugins
|
||||
run: yarn run build:plugins
|
||||
|
||||
- name: Build Desktop Layers
|
||||
run: yarn nx build @affine/electron
|
||||
|
||||
- name: Signing By Apple Developer ID
|
||||
|
7
.github/workflows/release-desktop-app.yml
vendored
7
.github/workflows/release-desktop-app.yml
vendored
@ -124,9 +124,12 @@ jobs:
|
||||
path: apps/electron/resources/web-static
|
||||
|
||||
- name: Build Infra
|
||||
run: yarn nx run-many -t build -p plugin-infra infra
|
||||
run: yarn run build:infra
|
||||
|
||||
- name: Build AFFiNE Desktop
|
||||
- name: Build Plugins
|
||||
run: yarn run build:plugins
|
||||
|
||||
- name: Build Desktop Layers
|
||||
run: yarn nx build @affine/electron
|
||||
|
||||
- name: Signing By Apple Developer ID
|
||||
|
@ -24,7 +24,6 @@
|
||||
"main": "./dist/main.js",
|
||||
"devDependencies": {
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@affine/bookmark-block": "workspace:*",
|
||||
"@affine/native": "workspace:*",
|
||||
"@blocksuite/blocks": "0.0.0-20230630081054-55a25248-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230630081054-55a25248-nightly",
|
||||
|
@ -20,6 +20,7 @@
|
||||
"build": "yarn nx build @affine/web",
|
||||
"build:electron": "yarn nx build @affine/electron",
|
||||
"build:infra": "yarn nx run-many -t build -p plugin-infra infra",
|
||||
"build:plugins": "yarn nx run-many -t build -p @affine/bookmark-block",
|
||||
"build:storybook": "yarn nx build @affine/storybook",
|
||||
"start:web": "yarn workspace @affine/web start",
|
||||
"start:web-static": "yarn exec serve apps/web/out -l 8080",
|
||||
|
@ -50,7 +50,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@affine/bookmark-block@workspace:*, @affine/bookmark-block@workspace:plugins/bookmark-block":
|
||||
"@affine/bookmark-block@workspace:plugins/bookmark-block":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@affine/bookmark-block@workspace:plugins/bookmark-block"
|
||||
dependencies:
|
||||
@ -207,7 +207,6 @@ __metadata:
|
||||
resolution: "@affine/electron@workspace:apps/electron"
|
||||
dependencies:
|
||||
"@affine-test/kit": "workspace:*"
|
||||
"@affine/bookmark-block": "workspace:*"
|
||||
"@affine/native": "workspace:*"
|
||||
"@blocksuite/blocks": 0.0.0-20230630081054-55a25248-nightly
|
||||
"@blocksuite/editor": 0.0.0-20230630081054-55a25248-nightly
|
||||
|
Loading…
Reference in New Issue
Block a user