Skip to content

Commit cc879b4

Browse files
committed
fix script
1 parent 595099d commit cc879b4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/nextjs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@ jobs:
2323
matrix:
2424
node-version: [20]
2525
steps:
26-
# 1. Checkout the repository
26+
# Checkout the repository
2727
- name: Checkout Repository
2828
uses: actions/checkout@v4
2929

30-
# 2. Setup Node.js
30+
# Install pnpm
31+
- name: Install pnpm
32+
uses: pnpm/action-setup@v4
33+
with:
34+
version: 10
35+
36+
# Setup Node.js
3137
- name: Use Node.js ${{ matrix.node-version }}
3238
uses: actions/setup-node@v4
3339
with:
3440
node-version: ${{ matrix.node-version }}
3541
cache: "pnpm"
3642

37-
# 3. Setup pnpm
38-
- name: Setup pnpm
39-
uses: pnpm/action-setup@v4
40-
with:
41-
version: 10 # Specify the desired pnpm version
42-
4343
# 4. Restore Cache
4444
- name: Restore Cache
4545
uses: actions/cache@v4

0 commit comments

Comments
 (0)