File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,28 +21,17 @@ jobs:
2121 - uses : actions/checkout@v4
2222 with :
2323 fetch-depth : 1
24- - name : Read Bun version
25- run : echo "BUN_VERSION=$(cat .bun-version)" >> $GITHUB_ENV
26- - uses : oven-sh/setup-bun@v2
24+ - uses : pnpm/action-setup@v4
2725 with :
28- bun-version : ${{ env.BUN_VERSION }}
29- - name : Install Dependencies (retry)
30- run : |
31- for i in 1 2 3; do
32- echo "Attempt $i: bun install --frozen-lockfile"
33- if bun install --frozen-lockfile; then
34- exit 0
35- fi
36- if [ "$i" -lt 3 ]; then
37- echo "Install failed, retrying in 10s..."
38- sleep 10
39- fi
40- done
41- echo "bun install failed after 3 attempts"
42- exit 1
26+ version : 10
27+ - uses : actions/setup-node@v4
28+ with :
29+ node-version : 22
30+ - name : Install Dependencies
31+ run : pnpm install --no-frozen-lockfile
4332 - name : Build Vite site
4433 run : |
45- bun run build-only
34+ pnpm run build-only
4635 - name : Upload artifact
4736 uses : actions/upload-pages-artifact@v4
4837 with :
Original file line number Diff line number Diff line change 22 "name" : " bluemsun" ,
33 "version" : " 0.0.0" ,
44 "private" : true ,
5- "packageManager" : " bun@1.3.5" ,
65 "type" : " module" ,
76 "scripts" : {
87 "dev" : " vite" ,
1514 },
1615 "dependencies" : {
1716 "@element-plus/icons-vue" : " ^2.3.2" ,
17+ "@fortawesome/fontawesome-svg-core" : " ^7.2.0" ,
1818 "@fortawesome/free-brands-svg-icons" : " ^7.2.0" ,
1919 "@fortawesome/free-regular-svg-icons" : " ^7.2.0" ,
2020 "@fortawesome/free-solid-svg-icons" : " ^7.2.0" ,
You can’t perform that action at this time.
0 commit comments