forked from githru/githru-vscode-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (37 loc) · 1.13 KB
/
analysis-engine.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
45
46
47
48
49
50
51
name: analysis-engine PR checker
on:
pull_request:
branches: [ main ]
jobs:
pull_request_test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/analysis-engine
strategy:
matrix:
node-version: [20.x]
steps:
- name: download codes
uses: actions/checkout@v3
- name: install node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: install node_modules from package.json
run: npm install
- name: check lint and prettier
run: npm run check:eslint
# - name: check version vulnerabilities
# run: npm run check:vulnerabilities
- name: test analysis-engine module
run: npm run test
- name: test analysis-engine log and return its coverage
run: npm run test:log
- name: test analysis-engine DAG and return its coverage
run: npm run test:DAG
- name: test analysis-engine stem and return its coverage
run: npm run test:stem
- name: test analysis-engine CSM and return its coverage
run: npm run test:CSM