generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (34 loc) · 859 Bytes
/
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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: General checks, tests and coverage reporting
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.11.0
uses: actions/[email protected]
with:
node-version: 20.11.0
- name: Install dependencies
run: npm ci
- name: Perform ESLint check
run: npm run lint
- name: Perform Licenses check
run: npm run check-licenses
- name: Perform dependency check
run: npm run depcheck
- name: Perform build
run: npm run build-test
- name: Run unit tests
run: npm run coverage
- name: Send report to Coveralls for package @ui5/linter
uses: coverallsapp/[email protected]
- name: Run e2e tests
run: npm run e2e