Skip to content

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

ci: fix sqlite modules not being found in desktop builds

Abdullah Atta5a0ca0bed94e
diff --git a/.github/workflows/desktop.tests.yml b/.github/workflows/desktop.tests.yml
index ed06e839b..b899a55b8 100644
--- a/.github/workflows/desktop.tests.yml
+++ b/.github/workflows/desktop.tests.yml
@@ -33,6 +33,8 @@ jobs:
run: |
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=web
+ npm i --cpu x64 sqlite-better-trigram
+ npm i --cpu x64 sqlite3-fts5-html
- name: Run tests x64
run: npm run test
@@ -61,6 +63,8 @@ jobs:
run: |
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=web
+ npm i --cpu arm64 sqlite-better-trigram
+ npm i --cpu arm64 sqlite3-fts5-html
- name: Run tests arm64
run: npm run test
@@ -89,6 +93,8 @@ jobs:
run: |
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=web
+ npm i --cpu x64 sqlite-better-trigram
+ npm i --cpu x64 sqlite3-fts5-html
- name: Run tests
run: xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24" -- npm run test
@@ -117,6 +123,8 @@ jobs:
run: |
npm ci --ignore-scripts --prefer-offline --no-audit
npm run bootstrap -- --scope=web
+ npm i --cpu x64 sqlite-better-trigram
+ npm i --cpu x64 sqlite3-fts5-html
- name: Run tests
run: npm run test