From a90e086a10d1ebf12dfb0e22c82f0f11f48a45aa Mon Sep 17 00:00:00 2001 From: fuyoo Date: Thu, 27 Jun 2024 14:21:43 +0800 Subject: [PATCH] add test workflow --- .github/workflows/build-test.yml | 2 ++ src-tauri/tauri.conf.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index d0138bf..4d4c54c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -45,6 +45,8 @@ jobs: - name: install frontend dependencies run: yarn install # change this to npm, pnpm or bun depending on which one you use. + - name: build frontend resource + run: yarn build # If tagName and releaseId are omitted tauri-action will only build the app and won't try to upload any assets. - uses: tauri-apps/tauri-action@v0 env: diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index de0c4aa..6e23a55 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "build": { "beforeDevCommand": "npm run dev", - "beforeBuildCommand": "yarn build", + "beforeBuildCommand": "", "devPath": "http://localhost:1420", "distDir": "../dist" },