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 7777 run : npm run -s build
7878 - name : Test
7979 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
80101 - name : Send Coverage
81102 run : npm run -s codecov
82103 env :
Original file line number Diff line number Diff line change 5454 "clean" : " rimraf .nyc_output .temp coverage index.*" ,
5555 "codecov" : " codecov" ,
5656 "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" ,
5858 "setup" : " git submodule update --init && cd test/fixtures/eslint && npm install" ,
5959 "pretest" : " run-s build lint" ,
6060 "test" : " npm run -s test:mocha" ,
You can’t perform that action at this time.
0 commit comments