Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ci: only bootstrap the required projects when building desktop app

Abdullah Atta8fb0071cf070
diff --git a/.github/workflows/desktop.publish.yml b/.github/workflows/desktop.publish.yml
index 6b293a8e4..52eef7421 100644
--- a/.github/workflows/desktop.publish.yml
+++ b/.github/workflows/desktop.publish.yml
@@ -113,7 +113,7 @@ jobs:
- name: Install packages
run: |
npm i --ignore-scripts --prefer-offline --no-audit
- npx lerna bootstrap --ignore=@notesnook/mobile -- --prefer-offline --no-audit
+ npx lerna bootstrap --scope=@notesnook/desktop --scope=@notesnook/crypto --scope=@notesnook/sodium -- --prefer-offline --no-audit
- name: Install provisioning profile
run: echo "${{ secrets.MAC_PROVISIONING_PROFILE }}" | base64 --decode > embedded.provisionprofile
@@ -188,7 +188,7 @@ jobs:
- name: Install packages
run: |
npm i --ignore-scripts --prefer-offline --no-audit
- npx lerna bootstrap --ignore=@notesnook/mobile -- --prefer-offline --no-audit
+ npx lerna bootstrap --scope=@notesnook/desktop --scope=@notesnook/crypto --scope=@notesnook/sodium -- --prefer-offline --no-audit
- name: Build Electron wrapper
run: npx nx run release --project @notesnook/desktop
@@ -238,7 +238,7 @@ jobs:
- name: Install packages
run: |
npm i --ignore-scripts --prefer-offline --no-audit
- npx lerna bootstrap --ignore=@notesnook/mobile -- --prefer-offline --no-audit
+ npx lerna bootstrap --scope=@notesnook/desktop --scope=@notesnook/crypto --scope=@notesnook/sodium -- --prefer-offline --no-audit
- name: Build
run: npx nx run release --project @notesnook/desktop