Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
run: |
echo "FETCH_DEPTH=$(($PR_COMMIT_COUNT + 1))" >> $GITHUB_ENV
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: ${{ env.FETCH_DEPTH }}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

- name: Cache node modules
id: cache-dep
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -65,16 +65,16 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

- name: Cache node modules
id: cache-dep
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
rm -f *.tgz
echo -e "Dist files: \n$(ls -l)"
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
if: ${{ steps.save-pr-data.outcome == 'success' }}
with:
name: pr_preview
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: next

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
registry-url: https://registry.npmjs.org/
node-version: ${{ matrix.node-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
registry-url: https://registry.npmjs.org/
node-version: ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Determine if workflow build job is successful
id: check-build-success
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
result-encoding: string
script: |
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/source-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -26,7 +26,7 @@ jobs:
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Cache node modules
uses: actions/cache@v4
uses: actions/cache@v5
env:
cache-name: cache-node-modules
with:
Expand All @@ -44,7 +44,7 @@ jobs:
--out tmp/materials
- name: Archive materials
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials
path: |
Expand All @@ -59,10 +59,10 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -72,15 +72,15 @@ jobs:
# Get RELEASE_NOTE.txt and pack it into zip.
- name: Download materials
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials

# TODO Check release version is RC

# Archive before run others to avoid packing unknown files.
- name: Archive source release
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-src
path: |
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:

steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -123,7 +123,7 @@ jobs:
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Download source release
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-src
path: tmp/echarts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: ${{ github.repository_owner == 'apache' }}
steps:
- name: Close Stale Issues
uses: actions/stale@v9
uses: actions/stale@v10
with:
days-before-stale: 730
days-before-close: 7
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-notice-year.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
sparse-checkout: |
.github/workflows/.scripts
- uses: actions/github-script@v7
- uses: actions/github-script@v8
with:
script: |
const updateNoticeYear = require('.github/workflows/.scripts/update-notice-year.js')
Expand Down