From 526c8a9ec1b51319cb7e1c6a7f791840f15280e8 Mon Sep 17 00:00:00 2001 From: cqh963852 Date: Tue, 25 Feb 2025 12:04:47 +0800 Subject: [PATCH] chore: update action config --- .github/workflows/deploy.yml | 2 +- .github/workflows/test-deploy.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b4f5efc..fe7367e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 20.x cache: yarn - name: Build website working-directory: ./ diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 1bab10e..d7b973b 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -12,10 +12,10 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 20.x cache: yarn - name: Test build - working-directory: website + working-directory: ./ run: | yarn install --frozen-lockfile yarn build