diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 9e315c81a..5b10f13a3 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