mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 23:07:02 +08:00
ci: fix build desktop
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -374,8 +374,16 @@ jobs:
|
|||||||
run: yarn nx test @affine/monorepo
|
run: yarn nx test @affine/monorepo
|
||||||
env:
|
env:
|
||||||
NATIVE_TEST: 'true'
|
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
|
run: yarn nx build @affine/electron
|
||||||
|
|
||||||
- name: Download static resource artifact
|
- name: Download static resource artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
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
|
path: apps/electron/resources/web-static
|
||||||
|
|
||||||
- name: Build Infra
|
- 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
|
run: yarn nx build @affine/electron
|
||||||
|
|
||||||
- name: Signing By Apple Developer ID
|
- 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
|
path: apps/electron/resources/web-static
|
||||||
|
|
||||||
- name: Build Infra
|
- 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
|
run: yarn nx build @affine/electron
|
||||||
|
|
||||||
- name: Signing By Apple Developer ID
|
- name: Signing By Apple Developer ID
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
"main": "./dist/main.js",
|
"main": "./dist/main.js",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@affine-test/kit": "workspace:*",
|
"@affine-test/kit": "workspace:*",
|
||||||
"@affine/bookmark-block": "workspace:*",
|
|
||||||
"@affine/native": "workspace:*",
|
"@affine/native": "workspace:*",
|
||||||
"@blocksuite/blocks": "0.0.0-20230630081054-55a25248-nightly",
|
"@blocksuite/blocks": "0.0.0-20230630081054-55a25248-nightly",
|
||||||
"@blocksuite/editor": "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": "yarn nx build @affine/web",
|
||||||
"build:electron": "yarn nx build @affine/electron",
|
"build:electron": "yarn nx build @affine/electron",
|
||||||
"build:infra": "yarn nx run-many -t build -p plugin-infra infra",
|
"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",
|
"build:storybook": "yarn nx build @affine/storybook",
|
||||||
"start:web": "yarn workspace @affine/web start",
|
"start:web": "yarn workspace @affine/web start",
|
||||||
"start:web-static": "yarn exec serve apps/web/out -l 8080",
|
"start:web-static": "yarn exec serve apps/web/out -l 8080",
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
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
|
version: 0.0.0-use.local
|
||||||
resolution: "@affine/bookmark-block@workspace:plugins/bookmark-block"
|
resolution: "@affine/bookmark-block@workspace:plugins/bookmark-block"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -207,7 +207,6 @@ __metadata:
|
|||||||
resolution: "@affine/electron@workspace:apps/electron"
|
resolution: "@affine/electron@workspace:apps/electron"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@affine-test/kit": "workspace:*"
|
"@affine-test/kit": "workspace:*"
|
||||||
"@affine/bookmark-block": "workspace:*"
|
|
||||||
"@affine/native": "workspace:*"
|
"@affine/native": "workspace:*"
|
||||||
"@blocksuite/blocks": 0.0.0-20230630081054-55a25248-nightly
|
"@blocksuite/blocks": 0.0.0-20230630081054-55a25248-nightly
|
||||||
"@blocksuite/editor": 0.0.0-20230630081054-55a25248-nightly
|
"@blocksuite/editor": 0.0.0-20230630081054-55a25248-nightly
|
||||||
|
|||||||
Reference in New Issue
Block a user