From 8fb0071cf0705dc897db02ce054b331654f56e57 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Fri, 23 Jun 2023 19:12:41 +0500 Subject: [PATCH] ci: only bootstrap the required projects when building desktop app --- .github/workflows/desktop.publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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