File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ jobs:
4848 echo "Unable to determine package manager"
4949 exit 1
5050 fi
51- - uses : pnpm/action- setup@v4
52- name : Install pnpm
51+ - uses : oven-sh/ setup-bun@v2
52+ name : Install bun
5353 with :
5454 version : 10
5555 run_install : false
5656 - name : Setup Node
57- uses : actions/setup-node@v4
57+ uses : actions/setup-node@v5
5858 with :
5959 node-version : " latest"
6060 cache : ${{ steps.detect-package-manager.outputs.manager }}
@@ -72,16 +72,16 @@ jobs:
7272 path : |
7373 .next/cache
7474 # Generate a new cache whenever packages or source files change.
75- key : ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.json', '**/yarn .lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
75+ key : ${{ runner.os }}-nextjs-${{ hashFiles('**/bun .lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
7676 # If source files changed but packages didn't, rebuild from a prior cache.
7777 restore-keys : |
78- ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.json', '**/yarn .lock') }}-
78+ ${{ runner.os }}-nextjs-${{ hashFiles('**/bun .lock') }}-
7979 - name : Install dependencies
80- run : pnpm install
80+ run : bun install
8181 - name : Build with Next.js
82- run : pnpm build
82+ run : bun run build
8383 - name : Upload artifact
84- uses : actions/upload-pages-artifact@v3
84+ uses : actions/upload-pages-artifact@v5
8585 with :
8686 path : ./out
8787
You can’t perform that action at this time.
0 commit comments