Skip to content

Commit f14f79d

Browse files
committed
fix: pnpm -> npm
1 parent 04b76d6 commit f14f79d

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)