File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 5353 run : ' npm ci || npm ci'
5454 shell : bash
5555
56- - name : Lint files
57- if : startsWith(matrix.os, 'ubuntu')
56+ - name : Lint check
57+ if : startsWith(matrix.os, 'ubuntu') && matrix.version == ''
58+ run : npm run lint
59+
60+ - name : Style check
61+ if : startsWith(matrix.os, 'ubuntu') && matrix.version == ''
5862 run : npm run style-check
5963
6064 - name : Compile sources
Original file line number Diff line number Diff line change 4040 "lint:fix" : " npm run lint -- --fix" ,
4141 "lint" : " eslint \" src/**/*.ts\" " ,
4242 "semantic-release" : " semantic-release" ,
43+ "style-fix" : " npx prettier --write \" src/**/*.ts\" " ,
4344 "style-check" : " npx prettylint 'src/**/*.ts'" ,
4445 "test" : " node ./out/test/runTest.js" ,
4546 "tools:genReadme" : " node ./out/tools/generateConfigSectionForReadme.js" ,
You can’t perform that action at this time.
0 commit comments