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: only disable postinstall on macOS in nightly desktop build (#4938)

LongYinancc2ade601c85
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml
index e203409947..6a82abe5bf 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -115,6 +115,7 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Node.js
timeout-minutes: 10
+ if: ${{ matrix.spec.platform == 'darwin' }}
uses: ./.github/actions/setup-node
with:
extra-flags: workspaces focus @affine/electron @affine/monorepo
@@ -122,6 +123,15 @@ jobs:
build-plugins: false
nmHoistingLimits: workspaces
enableScripts: false
+ - name: Setup Node.js
+ timeout-minutes: 10
+ if: ${{ matrix.spec.platform != 'darwin' }}
+ uses: ./.github/actions/setup-node
+ with:
+ extra-flags: workspaces focus @affine/electron @affine/monorepo
+ hard-link-nm: false
+ build-plugins: false
+ nmHoistingLimits: workspaces
- name: Build AFFiNE native
uses: ./.github/actions/build-rust
with: