This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch action-node-version in repository https://gitbox.apache.org/repos/asf/echarts.git
commit d7ff8c564217a8927eb18f658f3bc9d2c24faa7c Author: plainheart <y...@all-my-life.cn> AuthorDate: Fri Oct 14 08:40:08 2022 +0800 chore: update deprecated nodejs v12 in favor of v16 and update action dependency version. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/nightly-next.yml | 6 +++--- .github/workflows/nightly.yml | 6 +++--- .github/workflows/source-release.yml | 28 ++++++++++++++-------------- .github/workflows/stale.yml | 2 +- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdd4eec08..23981bcde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - name: Fetch commit count @@ -58,7 +58,7 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/nightly-next.yml b/.github/workflows/nightly-next.yml index b8c797884..35f3aeb6a 100644 --- a/.github/workflows/nightly-next.yml +++ b/.github/workflows/nightly-next.yml @@ -15,15 +15,15 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: next - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: registry-url: https://registry.npmjs.org/ - name: Setup and publish nightly diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 5f4a30238..c60920359 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -15,12 +15,12 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: registry-url: https://registry.npmjs.org/ - name: Setup and publish nightly diff --git a/.github/workflows/source-release.yml b/.github/workflows/source-release.yml index c98ba7234..87b85d5cc 100644 --- a/.github/workflows/source-release.yml +++ b/.github/workflows/source-release.yml @@ -11,13 +11,13 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} @@ -26,7 +26,7 @@ jobs: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: cache-node-modules with: @@ -34,7 +34,7 @@ jobs: path: ~/.npm key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - - name: Prepare releaes materials + - name: Prepare release materials run: | npm i node build/source-release/prepareReleaseMaterials.js \ @@ -44,7 +44,7 @@ jobs: --out tmp/materials - name: Archive materials - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials path: | @@ -56,13 +56,13 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} @@ -72,7 +72,7 @@ jobs: # Get RELEASE_NOTE.txt and pack it into zip. - name: Download materials - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials @@ -80,7 +80,7 @@ jobs: # Archive before run others to avoid packing unknown files. - name: Archive source release - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: apache-echarts-${{env.RELEASE_VERSION}}-src path: | @@ -109,11 +109,11 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} @@ -122,7 +122,7 @@ jobs: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Download source release - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: apache-echarts-${{env.RELEASE_VERSION}}-src path: tmp/echarts diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index bcdea0e49..5cf94e3b0 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -14,7 +14,7 @@ jobs: if: ${{ github.repository_owner == 'apache' }} steps: - name: Close Stale Issues - uses: actions/stale@v5 + uses: actions/stale@v6 with: days-before-stale: 730 days-before-close: 7 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org