File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,14 @@ jobs:
2828 - name : Checkout
2929 uses : actions/checkout@v4
3030
31- - uses : pnpm/action-setup@v4
32- name : Install pnpm
33- with :
34- version : 10
35- run_install : false
36-
3731 - name : Install Node.js
3832 uses : actions/setup-node@v4
3933 with :
4034 node-version : 22
41- cache : " pnpm "
35+ cache : " npm "
4236
4337 - name : Install dependencies
44- run : pnpm install
38+ run : npm ci
4539
4640 - name : Setup Pages
4741 id : setup_pages
@@ -53,13 +47,13 @@ jobs:
5347 path : |
5448 .next/cache
5549 # Generate a new cache whenever packages or source files change.
56- key : ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm -lock.yaml ') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
50+ key : ${{ runner.os }}-nextjs-${{ hashFiles('**/package -lock.json ') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
5751 # If source files changed but packages didn't, rebuild from a prior cache.
5852 restore-keys : |
59- ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm -lock.yaml ') }}-
53+ ${{ runner.os }}-nextjs-${{ hashFiles('**/package -lock.json ') }}-
6054
6155 - name : Build with Next.js
62- run : pnpm run build
56+ run : npm run build
6357 env :
6458 PAGES_BASE_PATH : ${{ steps.setup_pages.outputs.base_path }}
6559
You can’t perform that action at this time.
0 commit comments