fix(exporter): 修复 PNG 导出多行文本截断与宽度异常问题 #849
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| push: | |
| pull_request: | |
| concurrency: | |
| group: ${{github.workflow}}-${{github.event_name}}-${{github.ref}} | |
| cancel-in-progress: true | |
| jobs: | |
| lint-and-build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: ⤵️ Checkout | |
| uses: actions/checkout@v4 | |
| - name: 🎉 Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: 📦 Install Dependencies | |
| run: npm install | |
| - name: ⚛️ Install site dependencies | |
| run: | | |
| npm --prefix site install | |
| - name: 🚀 Build | |
| run: | | |
| npm run build | |
| npm run build:site | |
| - name: ✅ Run continuous integration tests | |
| run: npm run ci | |
| - name: 💡 Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| files: ./coverage/coverage-final.json | |
| flags: infographic | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |