diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index cb569bbb9d..de79fecaad 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -119,6 +119,11 @@ jobs: - name: Setup Node.js timeout-minutes: 10 uses: ./.github/actions/setup-node + with: + extra-flags: workspaces focus @affine/electron @affine/monorepo + hard-link-nm: false + build-plugins: false + nmHoistingLimits: workspaces - name: Setup Maker timeout-minutes: 10 uses: ./.github/actions/setup-maker @@ -150,6 +155,10 @@ jobs: - name: make run: yarn workspace @affine/electron make --platform=${{ matrix.spec.platform }} --arch=${{ matrix.spec.arch }} + env: + SKIP_PLUGIN_BUILD: 1 + SKIP_WEB_BUILD: 1 + HOIST_NODE_MODULES: 1 - name: Save artifacts (mac) if: ${{ matrix.spec.platform == 'darwin' }}