-
Notifications
You must be signed in to change notification settings - Fork 75
49 lines (36 loc) · 883 Bytes
/
github-ci.yml
File metadata and controls
49 lines (36 loc) · 883 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
47
48
49
name: GitHub CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
name: General checks and tests
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v6
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: Run unit tests
run: npm run coverage
- name: Generate JSDoc documentation
run: npm run jsdoc-generate
- name: Generate merged JSON schema
run: npm run schema-generate
- name: Generate CLI documentation
run: npm run generate-cli-doc