Skip to content

Commit fa71910

Browse files
s-sajid-aliclaude
andcommitted
Convert deploy workflow to use bun instead of npm
- Replace actions/setup-node with oven-sh/setup-bun@v2 - Remove @antfu/ni dependency and use bun commands directly - Update install command from nci to bun install - Update Playwright install to use bun x playwright - Update build command from nr to bun run Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 5e4ba92 commit fa71910

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,18 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v6
2828

29-
- uses: actions/setup-node@v6
29+
- uses: oven-sh/setup-bun@v2
3030
with:
31-
node-version: 'lts/*'
32-
33-
- name: Setup @antfu/ni
34-
run: npm i -g @antfu/ni
31+
bun-version: latest
3532

3633
- name: Install dependencies
37-
run: nci
34+
run: bun install
3835

3936
- name: Install Playwright Browsers
40-
run: npm exec playwright install --with-deps
37+
run: bun x playwright install --with-deps
4138

4239
- name: Build
43-
run: nr build --base /${{github.event.repository.name}}/
40+
run: bun run build --base /${{github.event.repository.name}}/
4441

4542
- name: Setup Pages
4643
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)