test: change ci

This commit is contained in:
GyDi 2021-12-24 23:05:35 +08:00
parent 5228e33d08
commit 40b0d29997
2 changed files with 3 additions and 2 deletions

View File

@ -39,6 +39,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
src-tauri/target/
src-tauri/WixTools/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: install app dependencies and build it
run: yarn && yarn run predev

View File

@ -4,8 +4,8 @@
"license": "GPL-3.0",
"scripts": {
"tauri": "tauri",
"dev": "tauri dev",
"build": "tauri build",
"dev": "cargo tauri dev",
"build": "cargo tauri build",
"web:dev": "vite",
"web:build": "tsc && vite build",
"web:serve": "vite preview",