-
Notifications
You must be signed in to change notification settings - Fork 21
46 lines (34 loc) · 939 Bytes
/
github-ci.yml
File metadata and controls
46 lines (34 loc) · 939 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: GitHub CI
on:
push:
branches:
- v4
pull_request:
branches:
- v4
# No permissions are required for this workflow
permissions: {}
jobs:
test:
name: General checks, tests and coverage reporting
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Use Node.js LTS 20.11.0
uses: actions/setup-node@v6.4.0
with:
node-version: 20.11.0
- name: Install dependencies
run: npm ci
- name: Check Node.js engine compatibility
run: npm run check-engine
- name: Perform dependencies analysis
run: npm run knip
- name: Perform checks and tests
run: npm test
- name: Send report to Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
- name: Build e2e test image
run: ./test/e2e/build-image.sh
- name: Run e2e test image
run: ./test/e2e/run-image.sh