|
|
|
|
@ -196,6 +196,9 @@ jobs:
@@ -196,6 +196,9 @@ jobs:
|
|
|
|
|
rustup target add x86_64-unknown-linux-musl |
|
|
|
|
npm run build:cross-platform |
|
|
|
|
|
|
|
|
|
- name: Run tests |
|
|
|
|
run: npm run test |
|
|
|
|
|
|
|
|
|
- name: Build application |
|
|
|
|
run: npm run dist:lin |
|
|
|
|
|
|
|
|
|
@ -317,6 +320,9 @@ jobs:
@@ -317,6 +320,9 @@ jobs:
|
|
|
|
|
path: apps/desktop/desktop_native/*.node |
|
|
|
|
key: rust-${{ runner.os }}-${{ hashFiles('apps/desktop/desktop_native/**/*') }} |
|
|
|
|
|
|
|
|
|
- name: Run tests |
|
|
|
|
run: npm run test |
|
|
|
|
|
|
|
|
|
- name: Build Native Module |
|
|
|
|
if: steps.cache.outputs.cache-hit != 'true' |
|
|
|
|
working-directory: apps/desktop/desktop_native |
|
|
|
|
@ -582,6 +588,9 @@ jobs:
@@ -582,6 +588,9 @@ jobs:
|
|
|
|
|
run: npm ci |
|
|
|
|
working-directory: ./ |
|
|
|
|
|
|
|
|
|
- name: Run tests |
|
|
|
|
run: npm run test |
|
|
|
|
|
|
|
|
|
- name: Cache Native Module |
|
|
|
|
uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09 # v3.0.2 |
|
|
|
|
id: cache |
|
|
|
|
|