From c5417a12eceb24367eeb5f155f1eeed23ea11ec0 Mon Sep 17 00:00:00 2001 From: alger Date: Sun, 22 Mar 2026 19:18:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20CI=20=E5=8D=87=E7=BA=A7=20Node.js=20?= =?UTF-8?q?=E8=87=B3=2024=EF=BC=8C=E7=A7=BB=E9=99=A4=20lock=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=BC=93=E5=AD=98=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 5 ++--- .github/workflows/deploy.yml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1cecbc0..c840481 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,11 +33,10 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 18 - cache: npm + node-version: 24 - name: Install dependencies - run: npm ci + run: npm install - name: Install Linux build dependencies if: matrix.os == 'ubuntu-latest' diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 548ce75..6e8d578 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,9 +13,9 @@ jobs: - uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '24' - name: 创建环境变量文件 run: |