File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -20,21 +20,23 @@ jobs:
20
20
- name : Set up Node.js
21
21
uses : actions/setup-node@v2
22
22
with :
23
- node-version : ' 21.x' # Using Node.js version
23
+ node-version : ' 21.x'
24
24
25
25
- name : Install dependencies
26
- run : pnpm install --prefix web # Install dependencies in the web folder
26
+ run : pnpm install
27
+ working-directory : web
27
28
28
29
- name : Build Svelte project
29
- run : pnpm run build --prefix web # Run build script in the web folder
30
+ run : pnpm run build
31
+ working-directory : web
30
32
31
33
- name : Bundle files
32
34
run : |
33
35
mkdir -p ./temp/mm_radio
34
- mkdir -p ./temp/mm_radio/web /
35
- cp ./{LICENSE,README.md,fxmanifest.lua} ./temp/mm_radio
36
+ mkdir -p ./temp/mm_radio/build /
37
+ cp ./{LICENSE,README.md,battery.json, fxmanifest.lua} ./temp/mm_radio
36
38
cp -r ./{client,server,shared,locales} ./temp/mm_radio
37
- cp -r ./web/ build ./temp/mm_radio/web /
39
+ cp -r ./build ./temp/mm_radio/build /
38
40
cd ./temp && zip -r ../mm_radio.zip ./mm_radio
39
41
40
42
- name : Create GitHub Release
You can’t perform that action at this time.
0 commit comments