This is an automated email from the ASF dual-hosted git repository. liuhongyu pushed a commit to branch chore/ci_update in repository https://gitbox.apache.org/repos/asf/shenyu-dashboard.git
commit c983b5ea5be20ecbe6e0f5ea7ab7bdb13db0116b Author: liuhy <[email protected]> AuthorDate: Thu Feb 5 19:31:05 2026 +0800 chore: update Node.js versions in CI workflows --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- .github/workflows/sync-to-main.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 131a7eae..16b11897 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x, 20.x] + node-version: [14.x, 16.x, 18.x, 20.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3d23596d..15fc504d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: node-version: "20" - name: Setup Dependencies - run: yarn install + run: npm install - name: Build Site run: npm run build diff --git a/.github/workflows/sync-to-main.yml b/.github/workflows/sync-to-main.yml index 3c2d74d4..87c9ae32 100644 --- a/.github/workflows/sync-to-main.yml +++ b/.github/workflows/sync-to-main.yml @@ -20,7 +20,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' cache: 'npm' cache-dependency-path: 'package-lock.json'
