We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a05b452 commit 265e75eCopy full SHA for 265e75e
.github/workflows/ci.yml
@@ -15,10 +15,10 @@ jobs:
15
- uses: actions/checkout@v4
16
- uses: actions/setup-node@v4
17
with:
18
- node-version: 18
+ node-version: 20.19
19
20
- name: Install dependencies
21
- run: npm install
+ run: npm install --force
22
23
- name: Build Next.js
24
run: npm run build
deploy.sh
@@ -21,7 +21,7 @@ git -C $BASE_DIR pull origin main
echo "📦 构建前端到临时目录..."
cp -r $BASE_DIR $TMP_DIR/frontend
cd $TMP_DIR/frontend
-npm install
+npm install --force
25
npm run build
26
27
echo "🚀 同步前端到生产目录..."
0 commit comments