From ffcea7d10a2ad6e263a8387edd6432b6d4405aa3 Mon Sep 17 00:00:00 2001 From: zyf722 <1124982772@qq.com> Date: Tue, 13 Aug 2024 21:09:37 +0800 Subject: [PATCH] ci: upgrade node to v20 --- .github/workflows/deploy.yml | 2 +- .github/workflows/{test-deploy.yml => test-build.yml} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{test-deploy.yml => test-build.yml} (88%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 87e1fb2..c9e29cf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: npm - name: Install dependencies diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-build.yml similarity index 88% rename from .github/workflows/test-deploy.yml rename to .github/workflows/test-build.yml index 6ca4c3b..f5fb427 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-build.yml @@ -1,4 +1,4 @@ -name: Test Deployment +name: Test Build on: workflow_dispatch: @@ -13,7 +13,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: npm - name: Install dependencies