From 1d9682a77d44d63a18e5b8420cb3de928594a1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=C9=A8=D5=BC=C9=A2=D3=84=D5=A1=D6=85=D5=BC=C9=A2?= Date: Sat, 25 Nov 2023 21:34:59 +0800 Subject: [PATCH] feat(workflows): bump actions/setup-node to v4 --- .github/workflows/ci-cd.yml | 4 ++-- .github/workflows/playwright-test-workflow.yml | 2 +- .github/workflows/pre-build-for-playwright.yml | 2 +- .github/workflows/publish-blog.yml | 2 +- .github/workflows/publish-dev-docs.yml | 2 +- .github/workflows/publish-docs.yml | 2 +- .github/workflows/publish-noco-i18n.yml | 2 +- .github/workflows/publish-prev-docs.yml | 2 +- .github/workflows/release-docker.yml | 2 +- .github/workflows/release-draft.yml | 2 +- .github/workflows/release-executables.yml | 2 +- .github/workflows/release-npm.yml | 2 +- .github/workflows/release-timely-executables.yml | 2 +- .github/workflows/unit-test.yml | 2 +- .github/workflows/update-sdk-path.yml | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 5cdf7af88e..0b64f6fbc2 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -38,7 +38,7 @@ jobs: with: version: 8 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10.0 - name: Checkout @@ -75,7 +75,7 @@ jobs: with: version: 8 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10.0 - name: Checkout diff --git a/.github/workflows/playwright-test-workflow.yml b/.github/workflows/playwright-test-workflow.yml index 97c90091a7..3321f50aec 100644 --- a/.github/workflows/playwright-test-workflow.yml +++ b/.github/workflows/playwright-test-workflow.yml @@ -21,7 +21,7 @@ jobs: - name: remove use-node-version from .npmrc run: sed -i '/^use-node-version/d' .npmrc - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10.0 - name: Setup pnpm diff --git a/.github/workflows/pre-build-for-playwright.yml b/.github/workflows/pre-build-for-playwright.yml index ac995ae79d..8c66cb42c4 100644 --- a/.github/workflows/pre-build-for-playwright.yml +++ b/.github/workflows/pre-build-for-playwright.yml @@ -11,7 +11,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10.0 - name: Setup pnpm diff --git a/.github/workflows/publish-blog.yml b/.github/workflows/publish-blog.yml index 9c99ee64a5..80d48a44c4 100644 --- a/.github/workflows/publish-blog.yml +++ b/.github/workflows/publish-blog.yml @@ -15,7 +15,7 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 - name: Build blogs diff --git a/.github/workflows/publish-dev-docs.yml b/.github/workflows/publish-dev-docs.yml index 979627bee6..cb17f0cd34 100644 --- a/.github/workflows/publish-dev-docs.yml +++ b/.github/workflows/publish-dev-docs.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 - name: Build docs diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index a6634993df..4d3e914f14 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 - name: Build docs diff --git a/.github/workflows/publish-noco-i18n.yml b/.github/workflows/publish-noco-i18n.yml index 565f0936e5..bb911caaa5 100644 --- a/.github/workflows/publish-noco-i18n.yml +++ b/.github/workflows/publish-noco-i18n.yml @@ -17,7 +17,7 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 - name: Build noco-i18n diff --git a/.github/workflows/publish-prev-docs.yml b/.github/workflows/publish-prev-docs.yml index ddcfcbd4cc..475fef1c28 100644 --- a/.github/workflows/publish-prev-docs.yml +++ b/.github/workflows/publish-prev-docs.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 - name: Build prev docs diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 66c7ede738..64b1bc7135 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -82,7 +82,7 @@ jobs: ref: ${{ github.ref }} - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10.0 diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index d1bcff7b51..7356b60c64 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -68,7 +68,7 @@ jobs: ref: "refs/tags/${{ github.event.inputs.tag || inputs.tag }}", sha: "${{ steps.get-sha.outputs.TARGET_SHA }}" }) - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 - run: "npx github-release-notes@0.17.2 release --token ${{ secrets.GITHUB_TOKEN }} --draft --tags ${{ github.event.inputs.tag || inputs.tag }}..${{ github.event.inputs.prev_tag || inputs.prev_tag }}" diff --git a/.github/workflows/release-executables.yml b/.github/workflows/release-executables.yml index 97bd279e02..cdc9a4cdd0 100644 --- a/.github/workflows/release-executables.yml +++ b/.github/workflows/release-executables.yml @@ -61,7 +61,7 @@ jobs: ./make.sh sudo cp ./ldid /usr/local/bin - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 4318c871ab..8d5f37dac2 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -48,7 +48,7 @@ jobs: ref: ${{ github.ref }} - name: pnpm Setup and Publish with 20.10.0 # Setup .npmrc file to publish to npm - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10.0 registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/release-timely-executables.yml b/.github/workflows/release-timely-executables.yml index 4bc1dbbb17..849650ddad 100644 --- a/.github/workflows/release-timely-executables.yml +++ b/.github/workflows/release-timely-executables.yml @@ -62,7 +62,7 @@ jobs: ./make.sh sudo cp ./ldid /usr/local/bin - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 936bb07f71..fea3b03d9f 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -30,7 +30,7 @@ jobs: version: 8 - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'pnpm' diff --git a/.github/workflows/update-sdk-path.yml b/.github/workflows/update-sdk-path.yml index 7cf2470b9b..575e20dadf 100644 --- a/.github/workflows/update-sdk-path.yml +++ b/.github/workflows/update-sdk-path.yml @@ -14,7 +14,7 @@ jobs: with: version: 8 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10.0 - name: Checkout