From 913602f98f7123c231dcd922160dd0000e058a8b Mon Sep 17 00:00:00 2001 From: Stefan Topfstedt Date: Wed, 10 Jan 2024 14:37:18 -0800 Subject: [PATCH] tighten up the eslint check - fail if there are more than 1 lint warnings. this is better than handwaving them. one warning is to be expected, and it's always the same one. let's fail if we receive any more warnings than that. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f7ab39d..220af488 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,7 +106,7 @@ jobs: - name: Grunt if: ${{ !cancelled() }} - run: moodle-plugin-ci grunt --show-lint-warnings + run: moodle-plugin-ci grunt --max-lint-warnings 1 - name: PHPUnit tests if: ${{ !cancelled() }}