mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
ci: Install sqlite-better-trigram for all arch
This commit is contained in:
18
.github/workflows/desktop.publish.yml
vendored
18
.github/workflows/desktop.publish.yml
vendored
@@ -136,6 +136,12 @@ jobs:
|
|||||||
npm ci --ignore-scripts --prefer-offline --no-audit
|
npm ci --ignore-scripts --prefer-offline --no-audit
|
||||||
npm run bootstrap -- --scope=desktop
|
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
|
- name: Install provisioning profile
|
||||||
run: echo "${{ secrets.MAC_PROVISIONING_PROFILE }}" | base64 --decode > embedded.provisionprofile
|
run: echo "${{ secrets.MAC_PROVISIONING_PROFILE }}" | base64 --decode > embedded.provisionprofile
|
||||||
working-directory: ./apps/desktop
|
working-directory: ./apps/desktop
|
||||||
@@ -212,6 +218,12 @@ jobs:
|
|||||||
npm ci --ignore-scripts --prefer-offline --no-audit
|
npm ci --ignore-scripts --prefer-offline --no-audit
|
||||||
npm run bootstrap -- --scope=desktop
|
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
|
- name: Build Electron wrapper
|
||||||
run: npx nx run release --project @notesnook/desktop
|
run: npx nx run release --project @notesnook/desktop
|
||||||
working-directory: ./apps/desktop
|
working-directory: ./apps/desktop
|
||||||
@@ -272,6 +284,12 @@ jobs:
|
|||||||
npm ci --ignore-scripts --prefer-offline --no-audit
|
npm ci --ignore-scripts --prefer-offline --no-audit
|
||||||
npm run bootstrap -- --scope=desktop
|
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
|
- name: Build
|
||||||
run: npx nx run release --project @notesnook/desktop
|
run: npx nx run release --project @notesnook/desktop
|
||||||
|
|
||||||
|
|||||||
18
.github/workflows/desktop.tests.yml
vendored
18
.github/workflows/desktop.tests.yml
vendored
@@ -64,6 +64,12 @@ jobs:
|
|||||||
npm run bootstrap -- --scope=desktop
|
npm run bootstrap -- --scope=desktop
|
||||||
npx nx run release --project @notesnook/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
|
- name: Build app
|
||||||
run: |
|
run: |
|
||||||
yarn electron-builder --mac --dir --arm64 --x64
|
yarn electron-builder --mac --dir --arm64 --x64
|
||||||
@@ -111,6 +117,12 @@ jobs:
|
|||||||
npm run bootstrap -- --scope=desktop
|
npm run bootstrap -- --scope=desktop
|
||||||
npx nx run release --project @notesnook/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
|
- name: Build app
|
||||||
run: |
|
run: |
|
||||||
yarn electron-builder --linux --dir --arm64 --x64
|
yarn electron-builder --linux --dir --arm64 --x64
|
||||||
@@ -145,6 +157,12 @@ jobs:
|
|||||||
npm run bootstrap -- --scope=desktop
|
npm run bootstrap -- --scope=desktop
|
||||||
npx nx run release --project @notesnook/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
|
- name: Build app
|
||||||
run: |
|
run: |
|
||||||
npx cross-env NOTESNOOK_STAGING=true yarn electron-builder --win --dir --arm64 --x64
|
npx cross-env NOTESNOOK_STAGING=true yarn electron-builder --win --dir --arm64 --x64
|
||||||
|
|||||||
Reference in New Issue
Block a user