Skip to content

Commit

Permalink
fix: bun ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yutakobayashidev committed Sep 28, 2023
1 parent 6144bbd commit 490aee3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/nextjs_bundle_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ jobs:
with:
node-version: "18.x"

- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 7
run_install: true
- name: Install bun
uses: oven-sh/setup-bun@v1

- name: Install dependencies
run: bun install

- name: Restore next build
uses: actions/cache@v2
Expand All @@ -49,7 +48,7 @@ jobs:

- name: Build next.js app
# change this if your site requires a custom build command
run: ./node_modules/.bin/next build
run: bun run build

# Here's the first place where next-bundle-analysis' own script is used
# This step pulls the raw bundle stats for the current bundle
Expand Down

1 comment on commit 490aee3

@vercel
Copy link

@vercel vercel bot commented on 490aee3 Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.