File tree Expand file tree Collapse file tree 2 files changed +38
-35
lines changed Expand file tree Collapse file tree 2 files changed +38
-35
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ include :
16
+ - node-version : 16
17
+ full-ci : true
18
+ - node-version : 14
19
+ full-ci : false
20
+ - node-version : 12
21
+ full-ci : false
22
+
23
+ steps :
24
+ - uses : actions/checkout@v2
25
+ - uses : actions/setup-node@v2
26
+ with :
27
+ node-version : ${{ matrix.node-version }}
28
+ - run : npm ci
29
+ - if : ${{ matrix.full-ci }}
30
+ run : npm test config=@ci
31
+ env :
32
+ # Please get your own free key if you want to test yourself
33
+ BROWSERSTACK_USERNAME : sitepenlabs1
34
+ BROWSERSTACK_ACCESS_KEY : xm1uYrJuV3gZMJqCyZJX
35
+ - if : ${{ ! matrix.full-ci }}
36
+ run : npm test
37
+ - if : ${{ matrix.full-ci }}
38
+ uses : codecov/codecov-action@v2
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments