File tree Expand file tree Collapse file tree 4 files changed +29
-7
lines changed Expand file tree Collapse file tree 4 files changed +29
-7
lines changed Original file line number Diff line number Diff line change 93
93
python -m pip install --upgrade pip
94
94
pip install --upgrade platformio setuptools
95
95
96
+ - name : Enable Corepack
97
+ run : |
98
+ cd webapp
99
+ corepack enable
100
+
96
101
- name : Setup Node.js and yarn
97
102
uses : actions/setup-node@v4
98
103
with :
@@ -101,10 +106,14 @@ jobs:
101
106
cache-dependency-path : " webapp/yarn.lock"
102
107
103
108
- name : Install WebApp dependencies
104
- run : yarn --cwd webapp install --frozen-lockfile
109
+ run : |
110
+ cd webapp
111
+ yarn install --frozen-lockfile
105
112
106
113
- name : Build WebApp
107
- run : yarn --cwd webapp build
114
+ run : |
115
+ cd webapp
116
+ yarn build
108
117
109
118
- name : Build firmware
110
119
run : pio run -e ${{ matrix.environment }}
Original file line number Diff line number Diff line change 6
6
build :
7
7
runs-on : ubuntu-latest
8
8
9
+ defaults :
10
+ run :
11
+ working-directory : webapp
12
+
9
13
steps :
10
14
- uses : actions/checkout@v4
15
+ - name : Enable Corepack
16
+ run : corepack enable
11
17
- name : Setup Node.js and yarn
12
18
uses : actions/setup-node@v4
13
19
with :
16
22
cache-dependency-path : " webapp/yarn.lock"
17
23
18
24
- name : Install WebApp dependencies
19
- run : yarn --cwd webapp install --frozen-lockfile
25
+ run : yarn install --frozen-lockfile
20
26
21
27
- name : Linting
22
- run : yarn --cwd webapp lint
28
+ run : yarn lint
Original file line number Diff line number Diff line change 6
6
build :
7
7
runs-on : ubuntu-latest
8
8
9
+ defaults :
10
+ run :
11
+ working-directory : webapp
12
+
9
13
steps :
10
14
- uses : actions/checkout@v4
15
+ - name : Enable Corepack
16
+ run : corepack enable
11
17
- name : Setup Node.js and yarn
12
18
uses : actions/setup-node@v4
13
19
with :
16
22
cache-dependency-path : " webapp/yarn.lock"
17
23
18
24
- name : Install WebApp dependencies
19
- run : yarn --cwd webapp install --frozen-lockfile
25
+ run : yarn install --frozen-lockfile
20
26
21
27
- name : Check Formatting
22
- run : yarn --cwd webapp prettier --check src/
28
+ run : yarn prettier --check src/
Original file line number Diff line number Diff line change 46
46
"vite-plugin-compression" : " ^0.5.1" ,
47
47
"vite-plugin-css-injected-by-js" : " ^3.5.1" ,
48
48
"vue-tsc" : " ^2.0.29"
49
- }
49
+ },
50
+ "packageManager" :
" [email protected] +sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
50
51
}
You can’t perform that action at this time.
0 commit comments