From f4195c25af7c8914a3b7a60851feb4f77f4342d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 1 Feb 2021 13:24:32 +0100 Subject: [PATCH] MOBILE-3631 github: Add extra action to detect duplicate class attribute --- .github/workflows/testing.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index bcabc9893..50b42d8f4 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -18,3 +18,4 @@ jobs: - run: npx tslint -c ionic-migration.json -p tsconfig.json - run: npm run test:ci - run: npm run build:prod + - run: result=$(find src -type f -iname '*.html' -exec grep -E 'class="[^"]+"[^>]+class="' {} \; | wc -l); test $result -eq 0