This repository was archived by the owner on Jul 13, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Expand file tree Collapse file tree 2 files changed +65
-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 3AM UTC
6+ - cron : ' 0 3 * * 1-5'
7+
8+ jobs :
9+ build :
10+
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ node-version : [14.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 : project check
25+ run : |
26+ npm i
27+ npm run build
28+ npm run 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 : [14.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 : project check
28+ run : |
29+ npm i
30+ npm run build
31+ npm run test
32+ npm run lint
33+ env :
34+ CI : true
You can’t perform that action at this time.
0 commit comments