Skip to content

Commit

Permalink
Fix CD for Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoretsu committed Jan 19, 2024
1 parent c77edb7 commit 8bef043
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ jobs:
with:
version: "latest"

- name: 🏗 Setup Node.js environment
uses: actions/setup-node@main
with:
node-version: "lts/*"
cache: "pnpm"
- name: 🏗 Setup Bun environment
uses: oven-sh/setup-bun@v1

- name: 🏗 Cache Next.js files
uses: actions/cache@v3
Expand All @@ -34,10 +31,10 @@ jobs:
restore-keys: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-

- name: 📦 Install dependencies
run: pnpm i
run: bun i

- name: 🚀 Build the app
run: pnpm build
run: bun run build

- name: Set up AWS CLI
uses: aws-actions/configure-aws-credentials@v4
Expand Down

0 comments on commit 8bef043

Please sign in to comment.