Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

ci: build infra code before build layers

Alex Yang62b465a889b6
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml
index 24bc9d6d42..5c91d4b18b 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -125,6 +125,9 @@ jobs:
name: before-make-web-static
path: apps/electron/resources/web-static
+ - name: Build Infra
+ run: yarn nx run-many -t build -p plugin-infra infra
+
- name: Build layers
run: yarn workspace @affine/electron build
diff --git a/.github/workflows/release-desktop-app.yml b/.github/workflows/release-desktop-app.yml
index 5a9e323f7e..d63a92792d 100644
--- a/.github/workflows/release-desktop-app.yml
+++ b/.github/workflows/release-desktop-app.yml
@@ -123,6 +123,9 @@ jobs:
name: before-make-web-static
path: apps/electron/resources/web-static
+ - name: Build Infra
+ run: yarn nx run-many -t build -p plugin-infra infra
+
- name: Build layers
run: yarn workspace @affine/electron build