Skip to content

Commit 595099d

Browse files
committed
fix script
1 parent 0bd8cdf commit 595099d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/nextjs.yml

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

3030
# 2. Setup Node.js
31-
- name: Use Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v4
33-
with:
34-
node-version: ${{ matrix.node-version }}
35-
cache: 'pnpm'
31+
- name: Use Node.js ${{ matrix.node-version }}
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: ${{ matrix.node-version }}
35+
cache: "pnpm"
3636

3737
# 3. Setup pnpm
3838
- name: Setup pnpm
@@ -45,8 +45,8 @@ jobs:
4545
uses: actions/cache@v4
4646
with:
4747
path: |
48-
.next/cache # Next.js build cache
49-
~/.pnpm-store # pnpm store for cached dependencies
48+
.next/cache
49+
~/.pnpm-store
5050
key: ${{ runner.os }}-nextra-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.ts', '**/*.jsx', '**/*.tsx') }}
5151
restore-keys: |
5252
${{ runner.os }}-nextra-

0 commit comments

Comments
 (0)