File tree Expand file tree Collapse file tree 3 files changed +36
-38
lines changed Expand file tree Collapse file tree 3 files changed +36
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ @godaddy /javascript
Original file line number Diff line number Diff line change 1+ name : ' CICD'
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ node : ['12', '14', '16']
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v2
20+ with :
21+ fetch-depth : 0
22+ - name : Setup Node.js
23+ uses : actions/setup-node@v2
24+ with :
25+ node-version : ${{ matrix.node }}
26+ cache : ' npm'
27+ cache-dependency-path : ' **/package-lock.json'
28+ - name : Install dependencies
29+ run : npm ci
30+ - name : Test
31+ run : npm test
32+ - name : Lint
33+ run : npm run lint
34+ - name : Coverage
35+ run : npm run coverage
You can’t perform that action at this time.
0 commit comments