Skip to content

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

ci: build electron wrapper after npm i

Abdullah Atta1f5001210b7d
diff --git a/.github/workflows/desktop.tests.yml b/.github/workflows/desktop.tests.yml
index 0611dd12b..6b4e63401 100644
--- a/.github/workflows/desktop.tests.yml
+++ b/.github/workflows/desktop.tests.yml
@@ -62,7 +62,6 @@ jobs:
run: |
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=desktop
- npx nx run release --project @notesnook/desktop
- name: Install sqlite-better-trigram for all arch
run: |
@@ -70,6 +69,10 @@ jobs:
npm i --cpu x64 sqlite-better-trigram
working-directory: ./apps/desktop
+ - name: Build Electron wrapper
+ run: npx nx run release --project @notesnook/desktop
+ working-directory: ./apps/desktop
+
- name: Build app
run: |
yarn electron-builder --mac --dir --arm64 --x64
@@ -115,7 +118,6 @@ jobs:
run: |
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=desktop
- npx nx run release --project @notesnook/desktop
- name: Install sqlite-better-trigram for all arch
run: |
@@ -123,6 +125,10 @@ jobs:
npm i --cpu x64 sqlite-better-trigram
working-directory: ./apps/desktop
+ - name: Build Electron wrapper
+ run: npx nx run release --project @notesnook/desktop
+ working-directory: ./apps/desktop
+
- name: Build app
run: |
yarn electron-builder --linux --dir --arm64 --x64
@@ -155,7 +161,6 @@ jobs:
run: |
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=desktop
- npx nx run release --project @notesnook/desktop
- name: Install sqlite-better-trigram for all arch
run: |
@@ -163,6 +168,10 @@ jobs:
npm i --cpu x64 sqlite-better-trigram
working-directory: ./apps/desktop
+ - name: Build Electron wrapper
+ run: npx nx run release --project @notesnook/desktop
+ working-directory: ./apps/desktop
+
- name: Build app
run: |
npx cross-env NOTESNOOK_STAGING=true yarn electron-builder --win --dir --arm64 --x64