ci: build electron wrapper after npm i

This commit is contained in:
Abdullah Atta
2024-11-19 15:52:17 +05:00
parent 3150eafb89
commit 1f5001210b

View File

@@ -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