File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Continuous Integration
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ - release/*
8
+ push :
9
+ branches :
10
+ - main
11
+ - release/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build
16
+ timeout-minutes : 20
17
+ runs-on : ${{ matrix.os }}
18
+ continue-on-error : ${{ matrix.experimental }}
19
+ strategy :
20
+ fail-fast : false
21
+ matrix :
22
+ node_version :
23
+ - 16.13.0
24
+ os :
25
+ - ubuntu-20.04
26
+ experimental : [false]
27
+ steps :
28
+
29
+ with :
30
+ submodules : true
31
+ - name : Node ${{ matrix.node_version }} - x64 on ${{ matrix.os }}
32
+
33
+ with :
34
+ node-version : ${{ matrix.node_version }}
35
+
36
+ with :
37
+ path : ~/.npm
38
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
39
+ restore-keys : |
40
+ ${{ runner.os }}-node-
41
+ - name : Install dependencies
42
+ run : npm ci
43
+ - name : Run lint and unit tests
44
+ run : |
45
+ npm run lint
46
+ npm run build
47
+ npm run test
48
+ npm run cov
You can’t perform that action at this time.
0 commit comments