-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (34 loc) · 958 Bytes
/
github-ci.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
name: GitHub CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checks:
name: Linting, dependency check and unit tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.11.0
- name: Install dependencies
run: npm ci
- name: Perfrom ESLint check
run: npm run lint
- name: Perfrom Licenses check
run: npm run check-licenses
- name: Perform dependency check
run: npm run depcheck
- name: Run unit tests
run: npm run test:unit:coverage
- name: Send report to Coveralls for package @ui5/middleware-code-coverage
uses: coverallsapp/github-action@v2.3.3
with:
flag-name: middleware-code-coverage
base-path: ./packages/middleware-code-coverage
file: ./packages/middleware-code-coverage/coverage/lcov.info