From 856051607a464f029d2774b4bc5ffb7ba5086a72 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 11 Mar 2024 14:17:00 +0800 Subject: [PATCH] ci: update workflow config. --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/main.yml | 19 +++++++++++++------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adad472..6bf72a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,12 @@ jobs: fail-fast: false matrix: node-version: + - 20 - 18 - 16 - - 14 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -31,12 +31,12 @@ jobs: fail-fast: false matrix: node-version: + - 20 - 18 - 16 - - 14 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 72f446c..16d85b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,10 +11,10 @@ jobs: contents: write id-token: write steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 registry-url: 'https://registry.npmjs.org' - run: npm install @@ -25,11 +25,18 @@ jobs: site: "Local IP URL {{version}}" menus: Home: index.html - Sponsor: https://jaywcjlove.github.io/#/sponsor + Sponsor: + url: https://jaywcjlove.github.io/#/sponsor + target: __blank + footer: | + Projects • + Sponsor • + More Apps

+ Generated by idoc v{{idocVersion}} EOF - - run: npm install idoc@1.27.2 -g - - run: idoc --output="build" + - run: npm install idoc@1 -g + - run: idoc - name: Create Coverage Badges uses: jaywcjlove/coverage-badges-cli@main