Skip to content

Commit a36285a

Browse files
committed
Update GitHub Actions workflow to use Bun for dependency management and build process
1 parent b473b78 commit a36285a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy-to-netlify.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
1414

15-
- name: Setup Node.js
16-
uses: actions/setup-node@v3
15+
- name: Setup Bun
16+
uses: oven-sh/setup-bun@v1
1717
with:
18-
node-version: 20.x
18+
bun-version: latest
1919

2020
- name: Install dependencies
21-
run: bun ci
21+
run: bun install
2222

2323
- name: Build project
2424
run: bun run build
2525

2626
- name: Install Netlify CLI
27-
run: bun add -g netlify-cli
27+
run: bun install -g netlify-cli
2828

2929
- name: Deploy to Netlify
3030
run: netlify deploy --prod --build
@@ -38,4 +38,4 @@ jobs:
3838
with:
3939
path: |
4040
.next/cache
41-
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
41+
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)