File tree Expand file tree Collapse file tree 3 files changed +85
-0
lines changed
Expand file tree Collapse file tree 3 files changed +85
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " daily"
Original file line number Diff line number Diff line change 1+ name : Nightly
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *'
6+
7+ jobs :
8+ test :
9+ runs-on : ${{ matrix.os }}
10+
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ node-version : [16.x]
15+ os : [ubuntu-latest]
16+
17+ steps :
18+ - name : Setup Repo
19+ uses : actions/checkout@v3
20+
21+ - name : Uses node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v3
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+
26+ - name : Install all workspaces
27+ run : yarn install --immutable
28+
29+ - name : Seutp workspaces
30+ run : yarn compile
31+
32+ - name : Lint
33+ run : yarn format && yarn lint
34+
35+ - name : Test
36+ run : yarn coverage
37+
38+ - name : spot-contracts report coverage
39+ uses : coverallsapp/github-action@1.1.3
40+ with :
41+ github-token : ${{ secrets.COVERALLS_REPO_TOKEN }}
42+ path-to-lcov : " ./coverage/lcov.info"
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ test :
11+ runs-on : ${{ matrix.os }}
12+
13+ strategy :
14+ matrix :
15+ node-version : [16.x]
16+ os : [ubuntu-latest]
17+
18+ steps :
19+ - name : Setup Repo
20+ uses : actions/checkout@v3
21+
22+ - name : Uses node.js ${{ matrix.node-version }}
23+ uses : actions/setup-node@v3
24+ with :
25+ node-version : ${{ matrix.node-version }}
26+
27+ - name : Install all workspaces
28+ run : yarn install --immutable
29+
30+ - name : Seutp workspaces
31+ run : yarn compile
32+
33+ - name : Lint
34+ run : yarn format && yarn lint
35+
36+ - name : Test
37+ run : yarn test
You can’t perform that action at this time.
0 commit comments