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: |