File tree 3 files changed +66
-0
lines changed
3 files changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Daily project check
2
+
3
+ on :
4
+ schedule :
5
+ # build runs every weekday at 6AM UTC
6
+ - cron : ' 0 6 * * 1-5'
7
+
8
+ jobs :
9
+ build :
10
+
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ node-version : [12.x]
16
+ os : [ubuntu-latest, windows-latest, macOS-latest]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v1
20
+ - name : Use Node.js ${{ matrix.node-version }}
21
+ uses : actions/setup-node@v1
22
+ with :
23
+ node-version : ${{ matrix.node-version }}
24
+ - name : npm install, build, test and lint
25
+ run : |
26
+ npm i
27
+ npm run build
28
+ npm run jest:test
29
+ npm run lint
30
+ env :
31
+ CI : true
Original file line number Diff line number Diff line change
1
+ name : Project check
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ build :
13
+
14
+ runs-on : ubuntu-latest
15
+
16
+ strategy :
17
+ matrix :
18
+ node-version : [12.x]
19
+ os : [ubuntu-latest, windows-latest, macOS-latest]
20
+
21
+ steps :
22
+ - uses : actions/checkout@v1
23
+ - name : Use Node.js ${{ matrix.node-version }}
24
+ uses : actions/setup-node@v1
25
+ with :
26
+ node-version : ${{ matrix.node-version }}
27
+ - name : npm install, build, test and lint
28
+ run : |
29
+ npm i
30
+ npm run build
31
+ npm run jest:test
32
+ npm run lint
33
+ env :
34
+ CI : true
Original file line number Diff line number Diff line change 3
3
[ ![ npm package] [ npm-badge ]] [ npm ]
4
4
[ ![ npm next] [ npm-next ]] [ npm ]
5
5
[ ![ NPM downloads] [ npm-download ]] [ npm ]
6
+ ![ Daily project check] ( https://github.com/coreui/coreui-react/workflows/Daily%20project%20check/badge.svg )
6
7
7
8
[ npm-badge ] : https://img.shields.io/npm/v/@coreui/react.png?style=flat-square
8
9
[ npm-next ] : https://img.shields.io/npm/v/@coreui/react/next.png?style=flat-square
You can’t perform that action at this time.
0 commit comments