File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed
Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 77 - master
88
99jobs :
10- build :
11-
10+ ci :
1211 runs-on : ${{ matrix.os }}
1312
1413 strategy :
@@ -22,22 +21,33 @@ jobs:
2221 uses : actions/setup-node@v2
2322 with :
2423 node-version : 16
25- - run : |
26- npm ci
27- npm run build
24+
25+ - name : install
26+ run : npm ci
27+
28+ - name : lint
29+ run : npm run lint
30+
31+ - name : build
32+ run : npm run build
33+
34+ - name : test
35+ run : |
2836 if [ "${{ runner.os }}" == "Windows" ]; then
2937 npm test
3038 else
3139 xvfb-run --auto-servernum npm test
3240 fi
3341 shell : bash
42+
3443 - name : Coveralls Parallel - Chrome
3544 uses : coverallsapp/github-action@master
3645 with :
3746 github-token : ${{ secrets.github_token }}
3847 path-to-lcov : ' ./coverage/chrome/lcov.info'
3948 flag-name : ${{ matrix.os }}-chrome
4049 parallel : true
50+
4151 - name : Coveralls Parallel - Firefox
4252 uses : coverallsapp/github-action@master
4353 with :
4757 parallel : true
4858
4959 finish :
50- needs : build
60+ needs : ci
5161 runs-on : ubuntu-latest
5262 steps :
5363 - name : Coveralls Finished
Original file line number Diff line number Diff line change 2626 "lint-types" : " eslint \" types/**/*.ts\" && tsc -p types/tests/" ,
2727 "lint" : " concurrently \" npm:lint-*\" " ,
2828 "test" : " cross-env NODE_ENV=test concurrently \" npm:test-*\" " ,
29- "test-lint" : " npm run lint" ,
3029 "test-karma" : " karma start --auto-watch --single-run --coverage" ,
3130 "test-types" : " tsc -p types/tests/"
3231 },
You can’t perform that action at this time.
0 commit comments