Skip to content

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

ci: Install sqlite-better-trigram for all arch

Abdullah Attaad1e3f2c672b
diff --git a/.github/workflows/desktop.publish.yml b/.github/workflows/desktop.publish.yml
index 73fe44fc5..89d706f0d 100644
--- a/.github/workflows/desktop.publish.yml
+++ b/.github/workflows/desktop.publish.yml
@@ -136,6 +136,12 @@ jobs:
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=desktop
+ - name: Install sqlite-better-trigram for all arch
+ run: |
+ npm i --cpu arm64 sqlite-better-trigram
+ npm i --cpu x64 sqlite-better-trigram
+ working-directory: ./apps/desktop
+
- name: Install provisioning profile
run: echo "${{ secrets.MAC_PROVISIONING_PROFILE }}" | base64 --decode > embedded.provisionprofile
working-directory: ./apps/desktop
@@ -212,6 +218,12 @@ jobs:
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=desktop
+ - name: Install sqlite-better-trigram for all arch
+ run: |
+ npm i --cpu arm64 sqlite-better-trigram
+ 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
@@ -272,6 +284,12 @@ jobs:
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=desktop
+ - name: Install sqlite-better-trigram for all arch
+ run: |
+ npm i --cpu arm64 sqlite-better-trigram
+ npm i --cpu x64 sqlite-better-trigram
+ working-directory: ./apps/desktop
+
- name: Build
run: npx nx run release --project @notesnook/desktop
diff --git a/.github/workflows/desktop.tests.yml b/.github/workflows/desktop.tests.yml
index 61aed2e57..0611dd12b 100644
--- a/.github/workflows/desktop.tests.yml
+++ b/.github/workflows/desktop.tests.yml
@@ -64,6 +64,12 @@ jobs:
npm run bootstrap -- --scope=desktop
npx nx run release --project @notesnook/desktop
+ - name: Install sqlite-better-trigram for all arch
+ run: |
+ npm i --cpu arm64 sqlite-better-trigram
+ npm i --cpu x64 sqlite-better-trigram
+ working-directory: ./apps/desktop
+
- name: Build app
run: |
yarn electron-builder --mac --dir --arm64 --x64
@@ -111,6 +117,12 @@ jobs:
npm run bootstrap -- --scope=desktop
npx nx run release --project @notesnook/desktop
+ - name: Install sqlite-better-trigram for all arch
+ run: |
+ npm i --cpu arm64 sqlite-better-trigram
+ npm i --cpu x64 sqlite-better-trigram
+ working-directory: ./apps/desktop
+
- name: Build app
run: |
yarn electron-builder --linux --dir --arm64 --x64
@@ -145,6 +157,12 @@ jobs:
npm run bootstrap -- --scope=desktop
npx nx run release --project @notesnook/desktop
+ - name: Install sqlite-better-trigram for all arch
+ run: |
+ npm i --cpu arm64 sqlite-better-trigram
+ npm i --cpu x64 sqlite-better-trigram
+ working-directory: ./apps/desktop
+
- name: Build app
run: |
npx cross-env NOTESNOOK_STAGING=true yarn electron-builder --win --dir --arm64 --x64