File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Status
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+ strategy :
13+ matrix :
14+ node-version : [18.x, 20.x, 22.x]
15+ steps :
16+ - uses : actions/checkout@v3
17+
18+ - name : Use Node.js ${{ matrix.node-version }}
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version : ${{ matrix.node-version }}
22+ - run : npm ci
23+ - run : npm run eslint
24+ - run : npm test
25+
26+ coverage :
27+ runs-on : ubuntu-latest
28+ needs : [build]
29+ steps :
30+ - uses : actions/checkout@v3
31+
32+ - name : Use Node.js ${{ matrix.node-version }}
33+ uses : actions/setup-node@v3
34+ with :
35+ node-version : 20.x
36+ - run : npm ci
37+ - run : npm run coverage
38+ - run : npm run coveralls
39+
40+ - name : Coveralls
41+ uses : coverallsapp/github-action@v2
Original file line number Diff line number Diff line change 1+ 22
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments