Skip to content

Commit b326eee

Browse files
committed
Update workflow and package configuration
1 parent 13301c9 commit b326eee

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,18 @@ jobs:
2222
node-version: 20
2323
cache: 'yarn'
2424

25-
- name: Install Node Dependencies
25+
- name: Install Root Dependencies
26+
run: yarn install
27+
28+
- name: Install React Dependencies
2629
run: |
30+
cd nebulaview
2731
yarn install
28-
cd nebulaview && yarn install
2932
3033
- name: Build React App
31-
run: yarn build:react
34+
run: |
35+
cd nebulaview
36+
yarn build
3237
3338
- name: Build and Release Electron App
3439
env:

package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
{
2+
"name": "vtts",
3+
"version": "1.0.0",
4+
"main": "main.js",
5+
"license": "MIT",
6+
"scripts": {
7+
"start": "electron .",
8+
"dev": "NODE_ENV=development electron .",
9+
"build:react": "cd nebulaview && yarn build",
10+
"build:electron": "electron-builder",
11+
"build": "yarn build:react && yarn build:electron"
12+
},
13+
"devDependencies": {
14+
"electron": "^25.0.0",
15+
"electron-builder": "^24.13.3"
16+
},
17+
"dependencies": {
18+
"axios": "^1.7.9"
19+
},
220
"build": {
321
"appId": "com.example.vtts",
422
"productName": "VTTS",

0 commit comments

Comments
 (0)