mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-27 11:51:29 +01: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
|
||||
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
|
||||
|
||||
# NOTE: vendored things need to exist for tests to build
|
||||
# NOTE: Test needs vendor+build to be run
|
||||
- name: Rust test
|
||||
working-directory: src-tauri
|
||||
run: cargo test --all
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
"tauri": "tauri",
|
||||
"dev:js": "vite dev",
|
||||
"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:dev": "tauri icon design/icon-dev.png --output ./src-tauri/icons/dev",
|
||||
"build": "run-p build:*",
|
||||
"build:js": "vite build",
|
||||
"build:plugin-runtime": "npm run --prefix plugin-runtime build",
|
||||
"vendor": "run-p vendor:*",
|
||||
|
||||
Reference in New Issue
Block a user