mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:08:32 +02:00
Run build before test as well
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -92,10 +92,13 @@ jobs:
|
|||||||
repository: yaakapp/plugins
|
repository: yaakapp/plugins
|
||||||
path: ${{ env.YAAK_PLUGINS_DIR }}
|
path: ${{ env.YAAK_PLUGINS_DIR }}
|
||||||
|
|
||||||
- name: Vendor things for the app
|
- name: build the app
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Vendor the app
|
||||||
run: npm run vendor
|
run: npm run vendor
|
||||||
|
|
||||||
# NOTE: vendored things need to exist for tests to build
|
# NOTE: Test needs vendor+build to be run
|
||||||
- name: Rust test
|
- name: Rust test
|
||||||
working-directory: src-tauri
|
working-directory: src-tauri
|
||||||
run: cargo test --all
|
run: cargo test --all
|
||||||
|
|||||||
@@ -11,9 +11,9 @@
|
|||||||
"tauri": "tauri",
|
"tauri": "tauri",
|
||||||
"dev:js": "vite dev",
|
"dev:js": "vite dev",
|
||||||
"lint": "tsc && eslint . --ext .ts,.tsx",
|
"lint": "tsc && eslint . --ext .ts,.tsx",
|
||||||
|
"build": "run-p build:*",
|
||||||
"build:icon:release": "tauri icon design/icon.png --output ./src-tauri/icons/release",
|
"build:icon:release": "tauri icon design/icon.png --output ./src-tauri/icons/release",
|
||||||
"build:icon:dev": "tauri icon design/icon-dev.png --output ./src-tauri/icons/dev",
|
"build:icon:dev": "tauri icon design/icon-dev.png --output ./src-tauri/icons/dev",
|
||||||
"build": "run-p build:*",
|
|
||||||
"build:js": "vite build",
|
"build:js": "vite build",
|
||||||
"build:plugin-runtime": "npm run --prefix plugin-runtime build",
|
"build:plugin-runtime": "npm run --prefix plugin-runtime build",
|
||||||
"vendor": "run-p vendor:*",
|
"vendor": "run-p vendor:*",
|
||||||
|
|||||||
Reference in New Issue
Block a user