From 5257117ea11a76b13eeac97fc02fe3874a871f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 5 Aug 2021 08:37:38 +0200 Subject: [PATCH] MOBILE-3833 lint: One dependency will cause one compat error It's not an error itself but it's detected as it on core-js: https://github.com/zloirock/core-js/blob/master/packages/core-js/internals/regexp-unsupported-ncg.js --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 4f326a88b..6f4d342ac 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -58,4 +58,4 @@ jobs: - name: Production builds run: npm run build:prod - name: JavaScript code compatibility - run: result=$(npx check-es-compat www/*.js 2> /dev/null | grep -v -E "Array\.prototype\.includes|Promise\.prototype\.finally|String\.prototype\.(matchAll|trimRight)|globalThis" | grep -Po "(?<=error).*?(?=\s+ecmascript)" | wc -l); test $result -eq 0 + run: result=$(npx check-es-compat www/*.js 2> /dev/null | grep -v -E "Array\.prototype\.includes|Promise\.prototype\.finally|String\.prototype\.(matchAll|trimRight)|globalThis" | grep -Po "(?<=error).*?(?=\s+ecmascript)" | wc -l); test $result -eq 1