We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b473b78 commit a36285aCopy full SHA for a36285a
.github/workflows/deploy-to-netlify.yml
@@ -12,19 +12,19 @@ jobs:
12
- name: Checkout code
13
uses: actions/checkout@v4
14
15
- - name: Setup Node.js
16
- uses: actions/setup-node@v3
+ - name: Setup Bun
+ uses: oven-sh/setup-bun@v1
17
with:
18
- node-version: 20.x
+ bun-version: latest
19
20
- name: Install dependencies
21
- run: bun ci
+ run: bun install
22
23
- name: Build project
24
run: bun run build
25
26
- name: Install Netlify CLI
27
- run: bun add -g netlify-cli
+ run: bun install -g netlify-cli
28
29
- name: Deploy to Netlify
30
run: netlify deploy --prod --build
@@ -38,4 +38,4 @@ jobs:
38
39
path: |
40
.next/cache
41
- key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
+ key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
0 commit comments