X Tutup
Skip to content

Commit 2dfdba3

Browse files
authored
Merge pull request alibaba#395 from alibaba/chore/action-cov-pkg
Chore/action cov pkg
2 parents 4601676 + ed3ddcf commit 2dfdba3

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/cov packages.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: lint & test
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'packages/**'
7+
- '!packages/**.md'
8+
9+
jobs:
10+
cov-designer:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: checkout
14+
uses: actions/checkout@v2
15+
16+
- uses: actions/setup-node@v2
17+
with:
18+
node-version: '14'
19+
20+
- name: install
21+
run: npm i && npm run setup:skip-build
22+
23+
- uses: ArtiomTr/jest-coverage-report-action@v2
24+
with:
25+
working-directory: packages/designer
26+
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json
27+
skip-step: install

0 commit comments

Comments
 (0)
X Tutup