MOBILE-3660 github: Improve duplicate class detection
This commit is contained in:
parent
67e3021e54
commit
f42ed2f054
2
.github/workflows/testing.yml
vendored
2
.github/workflows/testing.yml
vendored
@ -18,4 +18,4 @@ jobs:
|
|||||||
- run: npx tslint -c ionic-migration.json -p tsconfig.json
|
- run: npx tslint -c ionic-migration.json -p tsconfig.json
|
||||||
- run: npm run test:ci
|
- run: npm run test:ci
|
||||||
- run: npm run build:prod
|
- run: npm run build:prod
|
||||||
- run: result=$(find src -type f -iname '*.html' -exec grep -E 'class="[^"]+"[^>]+class="' {} \; | wc -l); test $result -eq 0
|
- run: result=$(find src -type f -iname '*.html' -exec sh -c 'cat {} | tr "\n" " " | grep -Eo "class=\"[^\"]+\"[^>]+class=\"" ' \; | wc -l); test $result -eq 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user