mirror of
https://github.com/hustcc/echarts-for-react.git
synced 2025-12-08 20:16:09 +00:00
* chore: bump version to 3.0.4 and update ECharts dependency to 6.0.0 (#601) * docs: update README to reflect ECharts version support for v6.0.0 * fix: standardize formatting and improve code readability in dynamic, simple, and theme examples * chore: update npm install script --------- Co-authored-by: tangweikun <819573105@qq.com> Co-authored-by: hustcc <i@hust.cc>
27 lines
590 B
YAML
27 lines
590 B
YAML
name: build
|
|
|
|
on: ["push", "pull_request"]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macOS-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.3.4
|
|
- name: Setup Node.js environment
|
|
uses: actions/setup-node@v2.1.5
|
|
with:
|
|
node-version: '20'
|
|
- name: npm install
|
|
run: |
|
|
npm install --legacy-peer-deps
|
|
- name: build
|
|
run: |
|
|
npm run build
|
|
env:
|
|
CI: true
|
|
- name: Coveralls
|
|
uses: coverallsapp/github-action@master
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|