-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
31 lines (28 loc) · 748 Bytes
/
coverage.yml
File metadata and controls
31 lines (28 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Generate coverage
on:
push:
branches-ignore:
- crowdin
pull_request:
branches-ignore:
- crowdin
jobs:
coverage:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@master
- name: Use Node.js 20
uses: actions/setup-node@master
with:
version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Run coverage
run: npm run coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./packages/app/coverage/clover.xml,./packages/core/coverage/clover.xml,./packages/ui/coverage/clover.xml