Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
e9267e2
fix(matrix): trigger click event on matrix cells
natsuokawai Nov 26, 2025
78ed359
fix(matrix): Trigger event only when matrix.triggerEvent is true
natsuokawai Nov 30, 2025
f43776a
fix(matrix): Add eventData items
natsuokawai Nov 30, 2025
a7228a0
fix(matrix): Trigger click event only on text, not on background
natsuokawai Dec 7, 2025
5bdc7b0
test(matrix): Add a test case for matrix text events
natsuokawai Dec 7, 2025
e800931
test(matrix): Make some cells empty
natsuokawai Dec 12, 2025
6609e32
test(matrix): Retrieve eventData from text content instead of display…
natsuokawai Dec 15, 2025
e2cb0ba
fix(treemap): scaleLimit bug. close #21426
Dec 16, 2025
b54bd54
fix(treemap): fix treemap can not be zoomed out after a zoom-in when …
Dec 16, 2025
eb45d17
fix(axis): fix axis label may have inappropriate precision or take to…
plainheart Dec 17, 2025
bbe3591
fix(scatter): fix jitter layout does not support progressive renderin…
plainheart Dec 18, 2025
cc16445
fix(scatter): tweak types
plainheart Dec 18, 2025
7fec6cf
Merge pull request #21435 from apache/master
Ovilia Dec 19, 2025
d3ec530
fix(scatter): simplify jitterLayout code and update test cases
plainheart Dec 19, 2025
b5733e7
test(scatter): tweak test case
plainheart Dec 19, 2025
5592113
test(scatter)L fix test case
plainheart Dec 19, 2025
ea05ee5
treemap: (1) Clarify the lifetime of variable "zoom". (2) Make "scale…
100pah Dec 20, 2025
76cc8dc
Merge pull request #21427 from liuyizhou/fix-21426
100pah Dec 20, 2025
f903bf2
Merge pull request #21436 from apache/fix/scatter-large-stuck
100pah Dec 20, 2025
491aacd
fix(marker): fix marker fails to render with dataset and encode due t…
plainheart Dec 20, 2025
4980c44
test(marker): add test case for rendering markers with dataset and en…
plainheart Dec 20, 2025
4d3fff8
seriesData: supplementarily fix omit unused and clarify the code.
100pah Dec 21, 2025
59f3f9a
Merge pull request #21439 from apache/fix/marker-dataset
100pah Dec 21, 2025
fb8da78
matrix: (1) Both `cellRect` (typically non-transparent) and `cellText…
100pah Jan 7, 2026
e770604
Merge pull request #21390 from natsuokawai/fix/matrix-click-event
100pah Jan 8, 2026
4cf7cb4
test(dataZoom): fix test case -- accidentally broken in v6. And add m…
100pah Jan 8, 2026
d013d5e
timeScale: Add the missing rounding (broken from a previous version) …
100pah Jan 8, 2026
479dcd4
fix&feat: Change and clarify the rounding error and auto-precision ut…
100pah Jan 9, 2026
d168bf2
fix(axisTick&dataZoom): (1) Apply a better auto-precision method. (2)…
100pah Jan 9, 2026
ffcc636
fix(alignTicks): Change alignTick strategy: (1) Previously some serie…
100pah Jan 9, 2026
a6ab245
feat(alignTicks): (1) Fix LogScale precision. (2) Tweak align ticks l…
100pah Jan 14, 2026
56c8768
fix(tooltip): valueFormatter cb param dataIndex should be rawDataInde…
100pah Jan 15, 2026
c6984ba
tweak test case
plainheart Jan 15, 2026
612fb4b
Merge pull request #21479 from apache/fix-tooltip-valueformatter
plainheart Jan 15, 2026
18a23a8
refactor(scale): For readability and maintainability (1) Migrate `cal…
100pah Jan 18, 2026
0f4561d
refactor&fix: (1) Unify series data union code - remove union code fr…
100pah Jan 24, 2026
dedc5dc
fix(logScale): (1) Thoroughly resolve a long-standing issue of non-po…
100pah Jan 25, 2026
28e74ef
fix(pie-on-cartesian): Previously when pie is located on Cartesian, a…
100pah Jan 25, 2026
64305a4
fix(dataZoom): (1) Fix dataZoom dragging cursor style (use 'drag' and…
100pah Jan 25, 2026
665daa6
fix(bar): prevent bar chart overflowing the graph when using dataZoom…
akashsonune Feb 5, 2026
fe932a2
refactor&feature:
100pah Feb 17, 2026
1f74fd7
test(visual): Update markers.
100pah Feb 17, 2026
f1cca26
Merge pull request #21511 from akashsonune/fix/bar-and-scatter-charts…
100pah Feb 17, 2026
c4a3823
Merge branch 'release' into pr/plainheart_fix/alignTicks-precision
100pah Feb 17, 2026
bdec91e
refactor: Remove the default value of number round due to its unreaso…
100pah Feb 17, 2026
52ceb92
fix: (1) Fix dataZoom AxisProxy can not be cleared when dataZoom opti…
100pah Feb 18, 2026
d47ea4a
fix(dataZoom): Do not display values outside of effective extent.
100pah Feb 19, 2026
b16d96c
chore: Tweak the usage of isFinite.
100pah Feb 20, 2026
8de2b64
feature&fix(axis):
100pah Feb 27, 2026
7a8d38b
fix: Fix inappropriate impl introduced by the previous commits.
100pah Feb 27, 2026
73363ff
feat: fixing typo of "Continous"
unional Mar 5, 2026
b2cab42
fix(types): use alias for types that are deprecated by typo
plainheart Mar 5, 2026
ba545ce
Merge pull request #21528 from unional/fixing-typos
plainheart Mar 5, 2026
dbfaf6a
fix&feature:
100pah Mar 6, 2026
18bedbb
fix: Temporarily fix incorrect stack base dimension selection when bo…
100pah Mar 6, 2026
bb56e9a
chore: Sync the modification of #21448 to release.
100pah Mar 6, 2026
5f2fa6d
chore: replace deprecated rollup-plugin-terser plugin with @rollup/pl…
plainheart Mar 7, 2026
6913851
Merge remote-tracking branch 'remotes/origin/master' into release-dev-1
plainheart Mar 7, 2026
cfd77dc
chore: upgrade node to v20
plainheart Mar 7, 2026
bd19110
fix: (1) Clarify and uniform terminology and add comments to explain …
100pah Mar 7, 2026
eb7530b
fix(appendData): Fix that the dataZoom inside is disabled when append…
100pah Mar 8, 2026
3fc8d56
Merge pull request #21530 from apache/release-dev-1
plainheart Mar 9, 2026
d2cc085
tweak: Clarity the previous implements of axis statistics.
100pah Mar 9, 2026
12b6d9f
Merge branch 'release' into PR/plainheart_fix/alignTicks-precision
100pah Mar 9, 2026
b094f98
fix(toolbox): Fix that toolbox theme cause corresponding icons are al…
100pah Mar 10, 2026
6de824d
fix(toolbox): Simplify toolbox and fix that toolbox throw error when …
100pah Mar 10, 2026
abb3ad4
fix: fix previous commit.
100pah Mar 12, 2026
9335851
fix: (1) Previously hoverLayerThreshold modification does not work. (…
100pah Mar 15, 2026
56a32c0
fix(axisPointer&tooltip): (1) axisPointer and tooltip should be able …
100pah Mar 15, 2026
cb6900c
Add Latvian localization
EPoikans Mar 16, 2026
f019371
test: add hover layer test.
100pah Mar 17, 2026
a1b9731
Merge pull request #21546 from EPoikans/master
plainheart Mar 18, 2026
4aa46ed
chore(deps): bump flatted from 3.1.0 to 3.4.2
dependabot[bot] Mar 20, 2026
2dc344e
Merge pull request #21550 from apache/dependabot/npm_and_yarn/flatted…
plainheart Mar 21, 2026
91a60fc
fix(progressive): (1) Fix that candlestick large data progressive ren…
100pah Mar 23, 2026
15af0db
fix: Fix min/max label show in category axis. Previously, axisLabel.s…
100pah Mar 24, 2026
7a9eda4
Fix bugs introduced by preceding commit.
100pah Mar 24, 2026
c8521d0
chore(deps-dev): bump picomatch from 2.3.1 to 2.3.2
dependabot[bot] Mar 25, 2026
8ddaa5c
Fix category axis min/max ticks/labels show hide when interval > 0. R…
100pah Mar 26, 2026
0a4d45e
fix: extract 1 unsafe expression(s) to env vars
dagecko Mar 26, 2026
4159c2a
Merge pull request #21554 from apache/dependabot/npm_and_yarn/picomat…
plainheart Mar 27, 2026
04763b9
Supplement tests and fix boxplot (broken by preceding commits)
100pah Mar 27, 2026
19b9339
Merge pull request #21556 from dagecko/runner-guard/fix-ci-security
plainheart Mar 28, 2026
8cd5c80
fix: Simplify and clarify the code about axis ticks regarding ordinal…
100pah Mar 28, 2026
3ceabff
Fix and add test cases (introduced by preceding commits)
100pah Mar 28, 2026
5fd5980
Tweak mktest.
100pah Mar 28, 2026
b81fa44
fix: Fix issues in regression test.
100pah Mar 29, 2026
72dd9d3
chore(workflow): remove pr preview actions [skip ci]
plainheart Mar 30, 2026
543d817
chore(workflow): update deps
plainheart Mar 30, 2026
a8fa04c
fix(candlestick): support cursor option
diysimon Mar 30, 2026
56f6dc3
fix: Fix and clarify the definition of axis.`startValue`.
100pah Mar 30, 2026
9c4aa42
fix: Fix candlestick clip path on category axis.
100pah Mar 30, 2026
cd9e486
Merge pull request #21557 from apache/chore-workflow
Ovilia Mar 31, 2026
25bb7da
fix_regression: Fix onZero and startValue backward compatibility.
100pah Mar 31, 2026
3973b21
fix: (1) Fix: fix bar overflow issue on category axis with boundaryGa…
100pah Apr 2, 2026
1e6a16f
test regression: fix recent broken.
100pah Apr 2, 2026
2064963
fix regression: (1) User specified `interval` show be backward compat…
100pah Apr 3, 2026
40b77b4
fix: (1) Fix time axis reach safeLimit when value scale is milisecond…
100pah Apr 5, 2026
990f3ef
test: add test.
100pah Apr 5, 2026
2eec8a8
fix(progressive): No need to explicitly assign zlevel for el.incremen…
100pah Apr 6, 2026
03f0e33
fix regression: (1) Revert the recent change to zlevelKey for backwar…
100pah Apr 7, 2026
694c44a
fix regression: bandWidth and containShape should properly handle sin…
100pah Apr 7, 2026
fbe49c8
fix regression: Fix gauge label precision.
100pah Apr 7, 2026
2e82d33
fix regression: onZero should be backward compatibility. And clarify …
100pah Apr 8, 2026
4b99289
chore: (1) Shift all pure function handlers (legacy pattern) to stage…
100pah Apr 8, 2026
8a17066
fix regression: Fix category axis backward compatibility and axis sta…
100pah Apr 8, 2026
6b4fed5
chore(deps-dev): bump basic-ftp from 5.2.0 to 5.2.1 in /test/runTest
dependabot[bot] Apr 8, 2026
641a550
Merge pull request #21573 from apache/dependabot/npm_and_yarn/test/ru…
plainheart Apr 9, 2026
1f99c89
fix(i18n): fix incorrect translation for custom series name in langDE…
A-Loot Apr 9, 2026
e5744ce
fix regression: Fix NPE and simplify code.
100pah Apr 9, 2026
6dff663
test: Add test util for canvas layer debug.
100pah Apr 9, 2026
14cc0f8
test: Add visual test marks for v6.1.0.
100pah Apr 10, 2026
64c1c66
Merge branch 'release' into PR/plainheart_fix/alignTicks-precision
100pah Apr 10, 2026
db24e13
feature: dataZoom 'inside' supports to set cursorGrab and cursorGrabb…
100pah Apr 10, 2026
963e99d
fix regression: fix test cases.
100pah Apr 10, 2026
e615c7f
chore(deps-dev): bump basic-ftp from 5.2.0 to 5.2.2 in /test/runTest …
dependabot[bot] Apr 11, 2026
8e24af5
Merge pull request #21558 from diysimon/fix-21551
Ovilia Apr 11, 2026
e548306
test: fix UT.
100pah Apr 11, 2026
483afa2
Merge branch 'release' into PR/plainheart_fix/alignTicks-precision
100pah Apr 11, 2026
505dbed
fix: Separate `npm prepare` from other build scripts. The reason is: …
100pah Apr 28, 2026
4175922
fix: (1) Fix geo roam (pan and zoom) causes visual artifacts -- geo c…
100pah Apr 29, 2026
cc4bd9f
dep: rollback @rollup/plugin-terser to 0.4.4 .
100pah Apr 29, 2026
db12d57
fix: Enable axis statistics to be able to register -- exclude if unne…
100pah May 3, 2026
6de21a3
test: Enable echarts-examples/e2e test result to be executed in echar…
100pah May 3, 2026
7c7b104
dep: upgrade zrender to 6.1.0 and update package-lock.json.
100pah May 4, 2026
3c62f0d
Merge pull request #21430 from apache/fix/alignTicks-precision
100pah May 4, 2026
c32ab64
lint: Remove unused variables.
100pah May 6, 2026
23438b8
ts: Add ts to bmap (remove @ts-nocheck)
100pah May 7, 2026
bc96cc7
lint: fix linter issues.
100pah May 7, 2026
eeaa9e4
lint: Fix according to es and ts lint.
100pah May 8, 2026
3698a52
lint: Enhance eslint -- add rules.
100pah May 8, 2026
c69f658
fix(lines): fix potential tooltip XSS vulnerability in lines series
plainheart May 8, 2026
1e39b00
Merge pull request #21608 from apache/fix/lines-tooltip-xss
100pah May 8, 2026
eb7aa66
dep: downgrade dep version.
100pah May 8, 2026
b6e2bdc
Merge branch 'release' of github.com:apache/incubator-echarts into re…
100pah May 8, 2026
be4cc54
fix regression: Fix appendData broken by previous commits.
100pah May 9, 2026
ee3e59e
fix(lint): Fix lint command - previously not all source files are inc…
100pah May 11, 2026
a1718d9
fix(lint): Fix according to lint.
100pah May 11, 2026
8cb374b
fix(build): Fix build commands.
100pah May 11, 2026
6998ed0
release: Upgrade npm version.
100pah May 12, 2026
d69405f
chore: Add missing headers.
100pah May 12, 2026
3f6e012
release: Build release.
100pah May 12, 2026
cc78ada
Merge pull request #21611 from apache/release-dev
100pah May 12, 2026
ed0e210
chore: Fix `addHeader` tool and add missing license headers.
100pah May 12, 2026
830e8b6
chore: Supplement package.json (for module cjs declaration) to source…
100pah May 12, 2026
21f17be
fixRegression(map,geo): Resolve circular dependencies introduced by t…
100pah May 12, 2026
77e5222
release 6.1.0-rc.2
100pah May 12, 2026
c5a48f5
Merge pull request #21612 from apache/release-dev
plainheart May 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
137 changes: 137 additions & 0 deletions .eslintrc-common-production.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

extends: './.eslintrc-common.yaml'
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 6
sourceType: module
ecmaFeatures:
modules: true
project: "tsconfig.json"
plugins:
- "@typescript-eslint"
- '@echarts-x/ec'
env:
# Do not set `browser: true, node: true`, which introduces some global variables
# (e.g., "require", "global"), which bypasses checks and may lead to errors.
es6: false
globals:
console: false
setTimeout: true
clearTimeout: true
navigator: false
__DEV__: true
rules:
"no-restricted-syntax":
- 2
-
"selector": "SpreadElement"
"message": "Spread syntax is unnecessary; it introduces verbose code after compilation."
-
"selector": "AssignmentPattern"
"message": "Default parameters only apply to undefined, but echarts treats undefined and null the same."
-
"selector": "FunctionDeclaration[async=true]"
"message": "No need to use async/await yet; it introduces verbose code after compilation."
-
"selector": "ArrowFunctionExpression[async=true]"
"message": "No need to use async/await yet; it introduces verbose code after compilation."
-
"selector": "AwaitExpression"
"message": "No need to use async/await yet; it introduces verbose code after compilation."
"@echarts-x/ec/no-props-polyfill-uncertain":
# Currently, echarts does not officially discard legacy platforms. The following methods are
# not polyfilled, and alternatives are widely used in this codebase by convention, which also
# benefits compression.
- 2
- {"receiver": "Array.prototype", "method": "map", "message": "Use `map` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "forEach", "message": "Use `each` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "reduce", "message": "Use `reduce` or `each` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "reduceRight", "message": "Use `reduce` or `each` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "filter", "message": "Use `filter` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "indexOf", "message": "Use `indexOf` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "find", "message": "Use `find` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "findIndex", "message": "Use `find` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "findLast", "message": "Use `find` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "findLastIndex", "message": "Use `find` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "includes", "message": "Use `indexOf` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "some", "message": "Use `find` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Array.prototype", "method": "flat"}
- {"receiver": "Array.prototype", "method": "flatMap"}
- {"receiver": "Array.prototype", "method": "at"}
- {"receiver": "Array.prototype", "method": "every"}
- {"receiver": "Array.prototype", "method": "fill"}
- {"receiver": "String.prototype", "method": "startsWith", "message": "Use `String.prototype.indexOf` instead."}
- {"receiver": "String.prototype", "method": "endsWith", "message": "Use `String.prototype.indexOf` instead."}
- {"receiver": "String.prototype", "method": "includes", "message": "Use `String.prototype.indexOf` instead."}
- {"receiver": "String.prototype", "method": "repeat"}
- {"receiver": "String.prototype", "method": "padStart"}
- {"receiver": "String.prototype", "method": "padEnd"}
- {"receiver": "String.prototype", "method": "matchAll"}
- {"receiver": "String.prototype", "method": "replaceAll"}
- {"receiver": "Array", "method": "isArray", "message": "Use `isArray` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Function", "method": "bind", "message": "Use `bind` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Function.prototype", "method": "bind", "message": "Use `bind` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Date", "method": "now", "message": "Use `+(new Date())` instead."}
- {"receiver": "Date.prototype", "method": "toJSON"}
- {"receiver": "Object", "method": "assign", "message": "Use `extend` or `defaults` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Object", "method": "keys", "message": "Use `keys` in `zrender/src/core/util.ts` instead."}
- {"receiver": "Object", "method": "seal", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "isSealed", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "freeze", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "isFrozen", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "isExtensible", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "preventExtensions", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "create", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "defineProperty", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "defineProperties", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "getOwnPropertyDescriptor", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "getOwnPropertyNames", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "is", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "entries", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "values", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "fromEntries", "message": "Typically not necessary in production code."}
- {"receiver": "Object", "method": "hasOwn", "message": "Typically not necessary in production code."}
"no-restricted-globals":
- 2
# Avoid dangerous usage of globals for production code.
- "event"
- "name"
- "length"
- "orientation"
- "top"
- "parent"
- "location"
- "closed"
- "jQuery"
- "$"
# No need to use them yet.
- "Promise"
# Currently, echarts does not officially discard legacy platforms. The following methods are
# not polyfilled, and alternatives are widely used in this codebase by convention, which also
# benefits compression.
- {name: "Map", message: "Use `HashMap` in `zrender/src/core/util.ts` instead."}
- {name: "Set", message: "Use `HashMap` in `zrender/src/core/util.ts` instead."}
- {name: "WeakMap", message: "No polyfill for it. Typically it is not necessary. Use `makeInner` or `src/util/cycleCache` instead."}
- {name: "WeakSet", message: "No polyfill for it. Typically it is not necessary. Use `makeInner` or `src/util/cycleCache` instead."}
- {name: "Symbol", message: "No polyfill for it. Typically it is not necessary."}
- {name: "Proxy", message: "No polyfill for it. Typically it is not necessary."}
- {name: "Reflect", message: "No polyfill for it. Typically it is not necessary."}
- {name: "Intl", message: "No polyfill for it. Typically it is not necessary."}
- {name: "Atomics", message: "No polyfill for it. Typically it is not necessary."}
36 changes: 2 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- name: Fetch commit count
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -91,35 +91,3 @@ jobs:

- name: Test generated DTS
run: npm run test:dts

- name: Pack npm tarball
if: ${{ github.repository_owner == 'apache' }}
id: pack-tarball
run: |
export PR_PREVIEW_DIR='echarts-pr-preview'
mkdir -p $PR_PREVIEW_DIR
npm pack --pack-destination $PR_PREVIEW_DIR
echo "PR_PREVIEW_DIR=$PR_PREVIEW_DIR" >> $GITHUB_ENV

- name: Save PR metadata and dist files
if: ${{ steps.pack-tarball.outcome == 'success' }}
id: save-pr-data
env:
PR_NUMBER: ${{ github.event.number }}
PR_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
PR_PREVIEW_DIR: ${{ env.PR_PREVIEW_DIR }}
run: |
cd $PR_PREVIEW_DIR
echo $PR_NUMBER > ./pr_number
echo $PR_COMMIT_SHA > ./pr_commit_sha
find . -type f -regex ".*\.tgz" -exec tar xvzf {} \;
rm -f *.tgz
echo -e "Dist files: \n$(ls -l)"

- uses: actions/upload-artifact@v6
if: ${{ steps.save-pr-data.outcome == 'success' }}
with:
name: pr_preview
path: ${{ env.PR_PREVIEW_DIR }}
retention-days: 1
if-no-files-found: error
2 changes: 1 addition & 1 deletion .github/workflows/nightly-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v6
Expand Down
78 changes: 0 additions & 78 deletions .github/workflows/pr-preview.yml

This file was deleted.

13 changes: 8 additions & 5 deletions .github/workflows/source-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v6
Expand All @@ -80,14 +80,17 @@ jobs:

# Archive before run others to avoid packing unknown files.
- name: Archive source release
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-src
path: |
index.d.ts
src/
extension-src/
dist/package.json
ssr/client/src/
ssr/client/dist/package.json
i18n/package.json
licenses/
theme/
build/
Expand All @@ -110,7 +113,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -123,7 +126,7 @@ jobs:
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Download source release
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-src
path: tmp/echarts
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/teardown-pr-preview.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,5 @@ todo
/features.js
/features.d.ts
*.tgz
/test/ZEXAMPLE_*
/build/eslint/eslint-plugin-ec/package-lock.json
Loading