fix: next 组件最新版本 TS 声明文件导出部分异常,暂时调整声明文件进行正常编译,后续组件升级后可再配合调整 #1004
Workflow file for this run
This file contains 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: coverage | |
on: | |
pull_request: | |
paths: | |
- 'packages/**' | |
- '!packages/**.md' | |
jobs: | |
cov-designer: | |
runs-on: ubuntu-latest | |
# skip fork's PR, otherwise it fails while making a comment | |
if: ${{ github.event.pull_request.head.repo.full_name == 'alibaba/lowcode-engine' }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: install | |
run: npm i && npm run setup:skip-build | |
- uses: ArtiomTr/jest-coverage-report-action@v2 | |
with: | |
working-directory: packages/designer | |
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json | |
package-manager: yarn | |
annotations: none | |
cov-renderer-core: | |
runs-on: ubuntu-latest | |
# skip fork's PR, otherwise it fails while making a comment | |
if: ${{ github.event.pull_request.head.repo.full_name == 'alibaba/lowcode-engine' }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: install | |
run: npm i && npm run setup:skip-build | |
- uses: ArtiomTr/jest-coverage-report-action@v2 | |
with: | |
working-directory: packages/renderer-core | |
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json | |
package-manager: yarn | |
annotations: none | |
cov-react-simulator-renderer: | |
runs-on: ubuntu-latest | |
# skip fork's PR, otherwise it fails while making a comment | |
if: ${{ github.event.pull_request.head.repo.full_name == 'alibaba/lowcode-engine' }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: install | |
run: npm i && npm run setup:skip-build | |
- uses: ArtiomTr/jest-coverage-report-action@v2 | |
with: | |
working-directory: packages/react-simulator-renderer | |
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json | |
package-manager: yarn | |
annotations: none | |
cov-utils: | |
runs-on: ubuntu-latest | |
# skip fork's PR, otherwise it fails while making a comment | |
if: ${{ github.event.pull_request.head.repo.full_name == 'alibaba/lowcode-engine' }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: install | |
run: npm i && npm run setup:skip-build | |
- uses: ArtiomTr/jest-coverage-report-action@v2 | |
with: | |
working-directory: packages/utils | |
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json | |
package-manager: yarn | |
annotations: none |