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