File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 77
77
run : npm run -s build
78
78
- name : Test
79
79
run : npm run -s test:mocha
80
+
81
+ test-cov :
82
+ name : Test and Send Coverage
83
+ runs-on : ubuntu-latest
84
+ steps :
85
+ - name : Checkout
86
+ uses : actions/checkout@v2
87
+ - name : Checkout submodules
88
+ run : git submodule update --init
89
+ - name : Install Node.js v14
90
+ uses : actions/setup-node@v1
91
+ with :
92
+ node-version : 14
93
+ - name : Install Packages
94
+ run : npm install
95
+ - name : Install ESLint v7
96
+ run : node scripts/ci-install-eslint 7
97
+ - name : Build
98
+ run : npm run -s build
99
+ - name : Test
100
+ run : npm run -s test:mocha
80
101
- name : Send Coverage
81
102
run : npm run -s codecov
82
103
env :
Original file line number Diff line number Diff line change 54
54
"clean" : " rimraf .nyc_output .temp coverage index.*" ,
55
55
"codecov" : " codecov" ,
56
56
"coverage" : " opener ./coverage/lcov-report/index.html" ,
57
- "lint" : " node -e \" if(process.env.ESLINT=='5')process.exit(1) \" && eslint src test --ext .js,.ts || node -e \" if(process.env.ESLINT!='5')process.exit(1) \" " ,
57
+ "lint" : " eslint src test --ext .js,.ts" ,
58
58
"setup" : " git submodule update --init && cd test/fixtures/eslint && npm install" ,
59
59
"pretest" : " run-s build lint" ,
60
60
"test" : " npm run -s test:mocha" ,
You can’t perform that action at this time.
0 commit comments