-
Notifications
You must be signed in to change notification settings - Fork 21
43 lines (32 loc) · 925 Bytes
/
github-ci.yml
File metadata and controls
43 lines (32 loc) · 925 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
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.3.0
with:
node-version: 20.11.0
- name: Install dependencies
run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
- 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@v2.3.7
- name: Build e2e test image
run: ./test/e2e/build-image.sh
- name: Run e2e test image
run: ./test/e2e/run-image.sh