Skip to content

Commit 5a46a06

Browse files
committed
change pkg manager to pnpm
1 parent 27f307a commit 5a46a06

2 files changed

Lines changed: 8 additions & 20 deletions

File tree

.github/workflows/deploy-site-pages.yaml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff 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:

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
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",

0 commit comments

Comments
 (0)