ci: create gui preview release on push to master (#65)

- Adds a Github action file that build the binaries
- Run yarn build command before tauri build is started
- Disable tauri config csp rules
This commit is contained in:
binarybaron 2024-09-06 23:22:18 +02:00 committed by binarybaron
parent 177e3e9949
commit 2a339231b1
No known key found for this signature in database
GPG key ID: 99B75D3E1476A26E
3 changed files with 68 additions and 2 deletions

View file

@ -8,7 +8,7 @@
"gen-bindings": "typeshare --lang=typescript --output-file ./src/models/tauriModel.ts ../swap/src && dprint fmt ./src/models/tauriModel.ts",
"dev": "vite",
"prebuild": "yarn run gen-bindings",
"build": "tsc && vite build",
"build": "vite build",
"preview": "vite preview",
"tauri": "tauri"
},