Commit 088ff88 1 parent 84e94c0 commit 088ff88 Copy full SHA for 088ff88
File tree 4 files changed +9
-5
lines changed
4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,14 @@ jobs:
16
16
uses : actions/checkout@v4
17
17
with :
18
18
fetch-depth : 0
19
-
20
19
- name : Set up Node
21
20
uses : actions/setup-node@v4
22
21
with :
23
- node-version : 22
22
+ node-version : 23
23
+ - name : Set up pnpm
24
+ uses : pnpm/action-setup@v4
25
+ with :
26
+ version : 10
24
27
- name : Build FE
25
28
run : |
26
29
# Extract version from git tag (remove 'v' prefix).
Original file line number Diff line number Diff line change 1
1
# build frontend
2
2
FROM node:23 as fe
3
3
WORKDIR /src
4
+ RUN npm i -g pnpm
4
5
COPY .git .git/
5
6
COPY frontend ./frontend
6
7
COPY scripts.sh .
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Download from [Releases](https://github.com/0x2E/fusion/releases).
55
55
56
56
### 3. Build from source
57
57
58
- 1 . Prepare dependencies : Go 1.23+, Node.js 23+.
58
+ 1 . Prepare environment : Go 1.23+, Node.js 23+ (and pnpm) .
59
59
2 . Check ` scripts.sh ` for more details.
60
60
61
61
For example:
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ build_frontend() {
30
30
echo " Using fusion version string: ${version} "
31
31
32
32
cd ./frontend
33
- npm i
34
- VITE_FUSION_VERSION=" $version " npm run build
33
+ pnpm i
34
+ VITE_FUSION_VERSION=" $version " pnpm run build
35
35
cd $root
36
36
}
37
37
You can’t perform that action at this time.
0 commit comments