diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f3bc07d..d7f9a783 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/package.json b/package.json index d4396b0e..f7962497 100644 --- a/package.json +++ b/package.json @@ -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:*",