Skip to content

Commit cac6cbb

Browse files
makinzmclaude
andcommitted
[fix] CI の bun インストールを oven-sh/setup-bun に変更
proto の bun プラグインが CI 環境のバージョンで .prototools のスキーマを認識できないため、 公式アクション oven-sh/setup-bun@v2 に切り替え Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fe7799e commit cac6cbb

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,18 @@ jobs:
2525
- name: Setup Pages
2626
uses: actions/configure-pages@v5
2727

28-
- name: Install proto
29-
run: |
30-
curl -fsSL https://moonrepo.dev/install/proto.sh | bash
31-
echo "$HOME/.proto/bin" >> "$GITHUB_PATH"
32-
33-
- name: Install bun via proto
34-
working-directory: website
35-
run: |
36-
proto install bun
37-
proto install node
28+
- name: Setup Bun
29+
uses: oven-sh/setup-bun@v2
30+
with:
31+
bun-version: "1.3.11"
3832

3933
- name: Install dependencies
4034
working-directory: website
41-
run: proto run bun -- install
35+
run: bun install
4236

4337
- name: Build Starlight site
4438
working-directory: website
45-
run: proto run bun -- run build
39+
run: bun run build
4640

4741
- name: Upload Pages artifact
4842
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)