File tree Expand file tree Collapse file tree 2 files changed +55
-5
lines changed Expand file tree Collapse file tree 2 files changed +55
-5
lines changed Original file line number Diff line number Diff line change 1+ name : ' GitHub CI'
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
9+
10+ jobs :
11+ test-node :
12+ name : Test on Node.js v${{ matrix.node-version }} and jest v${{ matrix.jest-version }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ node-version : [12.x, 14.x, 16.x]
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v2
20+ - name : Use Node.js ${{ matrix.node-version }}
21+ uses : actions/setup-node@v2
22+ with :
23+ node-version : ${{ matrix.node-version }}
24+ cache : yarn
25+ - run : yarn install
26+ - run : yarn test:coverage
27+
28+ test-os :
29+ name : Test on ${{ matrix.os }} using Node.js LTS
30+ strategy :
31+ fail-fast : false
32+ matrix :
33+ os : [ubuntu-latest, windows-latest, macOS-latest]
34+ runs-on : ${{ matrix.os }}
35+
36+ steps :
37+ - uses : actions/checkout@v2
38+ - uses : actions/setup-node@v2
39+ with :
40+ node-version : 16.x
41+ cache : yarn
42+ - run : yarn install
43+ - run : yarn test:coverage
44+
45+ lint :
46+ name : Run ESLint
47+ runs-on : ubuntu-latest
48+ steps :
49+ - uses : actions/checkout@v2
50+ - uses : actions/setup-node@v2
51+ with :
52+ node-version : 16.x
53+ cache : yarn
54+ - run : yarn install
55+ - run : yarn lint
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments