Skip to content

Commit 5646697

Browse files
committed
回退一下
1 parent b635955 commit 5646697

4 files changed

Lines changed: 6 additions & 25 deletions

File tree

.github/workflows/content-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Check pnpm version
5353
run: node scripts/check-pnpm-version.mjs
5454

55-
- run: pnpm install --frozen-lockfile
55+
- run: pnpm install
5656

5757
# Verify lockfile wasn't modified by install
5858
- name: Check lockfile consistency

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Check pnpm version
6161
run: node scripts/check-pnpm-version.mjs
6262

63-
- run: pnpm install --frozen-lockfile
63+
- run: pnpm install
6464

6565
# Verify lockfile wasn't modified by install
6666
- name: Check lockfile consistency

.github/workflows/sync-uuid.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
env:
3131
DATABASE_URL: ${{ secrets.DATABASE_URL }}
3232
GITHUB_TOKEN: ${{ secrets.GH_PAT }} # 供脚本调用 GitHub API 提升速率
33-
DOCS_DIR: app/docs # 在 working-directory 为 frontend 时,这是相对路径
33+
DOCS_DIR: app/docs
3434

3535
steps:
3636
- uses: actions/checkout@v4
@@ -43,31 +43,18 @@ jobs:
4343
with:
4444
version: 10.20.0
4545
package_json_file: frontend/package.json
46-
run_install: false
4746

4847
- uses: actions/setup-node@v4
4948
with:
5049
node-version: 20
51-
52-
- name: Get pnpm store directory
53-
shell: bash
54-
run: |
55-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
56-
57-
- uses: actions/cache@v4
58-
name: Setup pnpm cache
59-
with:
60-
path: ${{ env.STORE_PATH }}
61-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('frontend/pnpm-lock.yaml') }}
62-
restore-keys: |
63-
${{ runner.os }}-pnpm-store-
50+
# 不再这里配置缓存,避免子目录解析错误
6451

6552
# Verify pnpm version matches package.json packageManager field
6653
- name: Check pnpm version
6754
run: node scripts/check-pnpm-version.mjs
6855

6956
- name: Install deps
70-
run: pnpm install --frozen-lockfile
57+
run: pnpm install --no-frozen-lockfile
7158

7259
- name: Generate Prisma Client
7360
run: pnpm prisma generate
@@ -83,7 +70,7 @@ jobs:
8370
with:
8471
commit_message: "chore(docs): sync doc metadata [skip ci]" # ← 防循环
8572
file_pattern: "frontend/app/docs/**/*.md frontend/app/docs/**/*.mdx frontend/generated/doc-contributors.json"
86-
working_directory: . # git-auto-commit-action 建议在根目录运行以处理全局路径
73+
working_directory: .
8774

8875
- name: Upload snapshot JSON
8976
uses: actions/upload-artifact@v4

frontend/vercel.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)